Cross-Site Request Forgery...

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

We recently found that the Twitter Cards Meta contains a cross-site request forgery (CSRF)/cross-site scripting (XSS) vulnerability on the plugin’s setting pages,/wp-admin/admin.php?page=twitter-cards-meta. The CSRF potion of the vulnerability was due to a lack of a nonce on the page and a lack of a check for a valid one when processing a request to change the plugin’s settings. For the XSS issue, in the file /twcm-options.php starting at line 28 in version 2.4.5 settings are saved and there is no sanitization done: if(isset($_POST['save_options'])) { $options=array( 'site_twitter_username'=>trim($_POST['site_twitter_username']), 'use_authors_twitter_account'=>isset($_POST['use_authors_twitter_account']) ? intval($_POST['use_authors_twitter_account']) : '', 'use_image_from'=>$_POST['use_image_from'], 'image_custom_field'=>trim($_POST['image_custom_field']), 'default_image'=>(trim($_POST['default_image'])=='Link to Default Image')? '' : trim($_POST['default_image']),...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息