Sql injection in WordPress 2.1.2

看板Bugtraq作者時間19年前 (2007/03/10 01:13), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Hello, There is a sql injection in WordPress 2.1.2 (and maybe others) . A user with "add link" permission (Editor/Administrator) can do this : The '$new_cat' variable in "wp_set_link_cats()" function is not checked properly before be used in the sql query : File /wp-admin/admin-db.php, Line 472 : $wpdb->query(" INSERT INTO $wpdb->link2cat (link_id, category_id) VALUES ($link_ID, $new_cat)"); - Omid
文章代碼(AID): #15yPMd00 (Bugtraq)
文章代碼(AID): #15yPMd00 (Bugtraq)