what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Recaptcha WordPress Plugin Cross Site Scripting

Recaptcha WordPress Plugin Cross Site Scripting
Posted Mar 18, 2011
Authored by Rodrigo Rubira Branco

The Recaptcha WordPress plugin suffers from a cross site scripting vulnerability.

tags | advisory, xss
advisories | CVE-2011-0759
SHA-256 | 3380fb0810e15ce592d4dc8554dd0382521efd3b51f666fb7fa37f371bd0984b

Recaptcha WordPress Plugin Cross Site Scripting

Change Mirror Download
Check Point Software Technologies - Vulnerability Discovery Team (VDT)
http://www.checkpoint.com/defense/

Recaptcha WordPress Plugin Cross Site Scripting Vulnerability
CVE-2011-0759


INTRODUCTION

The WordPress Recaptcha Plugin "integrates reCAPTCHA antispam methods with WordPress including comment, registration, and email spam protection".

This advisory describes multiple Stored Cross Site Scripting (XSS) vulnerabilities and one Cross Site Request Forgery (CSRF) vulnerability on the
plugin. As a result, an attacker can gain elevated access privileges to sensitive page content, session cookies, and a variety of other information
maintained by the browser on behalf of the WordPress administrator user. Furthermore, the attacker can perform actions administrative powers.

This problem was confirmed in the latest version of the plugin, other versions maybe also affected.

CVSS Scoring System

The CVSS score is: 6.4
Base Score: 6.7
Temporal Score: 6.4
We used the following values to calculate the scores:
Base score is: AV:N/AC:L/Au:N/C:C/I:C/A:N
Temporal score is: E:F/RL:U/RC:C


DETAILS

The plugin's configuration page is vulnerable to Stored Cross Site Scripting. Various fields are received through POST and included on the response
page with little sanitization. The vulnerable code is shown next:

---
749: <input name="recaptcha_opt_pubkey" id="recaptcha_opt_pubkey" size="40"
value="<?php echo $optionarray_def['pubkey']; ?>" />
753: <input name="recaptcha_opt_privkey" id="recaptcha_opt_privkey" size="40"
value="<?php echo $optionarray_def['privkey']; ?>" />
782: <input name="re_tabindex" id="re_tabindex" size="5" value="<?php echo
$optionarray_def['re_tabindex']; ?>" />
814: <input name="error_blank" id="error_blank" size="80" value="<?php echo $optionarray_
def['error_blank']; ?>" />
818: <input name="error_incorrect" id="error_incorrect" size="80" value="<?php
echo $optionarray_def['error_incorrect']; ?>" />
865: <input name="mailhide_pub" id="mailhide_pub" size="40" value="<?php echo
$optionarray_def['mailhide_pub']; ?>" />
869: <input name="mailhide_priv" id="mailhide_priv" size="40" value="<?php echo
$optionarray_def['mailhide_priv']; ?>" />
888: <input name="mh_replace_link" id="mh_replace_link" size="40" value="<?php
echo $optionarray_def['mh_replace_link']; ?>" />
891: <input name="mh_replace_title" id="mh_replace_title" size="40" value="<?php
echo $optionarray_def['mh_replace_title']; ?>" />
---

These vulnerabilities allow an attacker to insert HTML/JavaScript commands to be interpreted in the session of an authenticated administrator user.

Since the plugin's configuration page is not protected against Cross Site Request Forgery, the exploitation permits the attacker to inject
configuration values. This flaw allows an attacker to change the reCAPTCHA configuration, like disabling CAPTCHA for comments and
registration forms.

Proof of concept exploitation code is available to interested parties.



CREDITS

This vulnerability has been brought to our attention by Gabriel Quadros from Conviso IT Security company (http://www.conviso.com.br) and researched
internally by Rodrigo Rubira Branco from the Check Point Vulnerability Discovery Team (VDT).





Best Regards,

Rodrigo.

--
Rodrigo Rubira Branco
Chief Security Research
Vulnerability Discovery Team (VDT)
Check Point Software Technologies

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close