Drupal CAPTCHA Module Description HTML Injection Vulnerability
BID:40263
Info
Drupal CAPTCHA Module Description HTML Injection Vulnerability
| Bugtraq ID: | 40263 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 19 2010 12:00AM |
| Updated: | May 19 2010 12:00AM |
| Credit: | mr.baileys |
| Vulnerable: |
Drupal CAPTCHA 6.x-2.1 Drupal CAPTCHA 5.x-3.2 |
| Not Vulnerable: |
Drupal CAPTCHA 6.x-2.2 Drupal CAPTCHA 5.x-3.3 |
Discussion
Drupal CAPTCHA Module Description HTML Injection Vulnerability
The CAPTCHA module for Drupal is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Versions prior to CAPTCHA 5.x-3.3 and 6.x-2.2 are vulnerable.
The CAPTCHA module for Drupal is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Versions prior to CAPTCHA 5.x-3.3 and 6.x-2.2 are vulnerable.
Exploit / POC
Drupal CAPTCHA Module Description HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Attackers can use a browser to exploit this issue.
Solution / Fix
Drupal CAPTCHA Module Description HTML Injection Vulnerability
Solution:
Updates are available. Please see the references for details.
Drupal CAPTCHA 5.x-3.2
Drupal CAPTCHA 6.x-2.1
Solution:
Updates are available. Please see the references for details.
Drupal CAPTCHA 5.x-3.2
-
Drupal captcha-5.x-3.3.tar.gz
http://ftp.drupal.org/files/projects/captcha-5.x-3.3.tar.gz
Drupal CAPTCHA 6.x-2.1
-
Drupal captcha-6.x-2.2.tar.gz
http://ftp.drupal.org/files/projects/captcha-6.x-2.2.tar.gz
References
Drupal CAPTCHA Module Description HTML Injection Vulnerability
References:
References:
- CAPTCHA Homepage (Drupal)
- Drupal Language Switcher Dropdown Homepage (Drupal)
- SA-CONTRIB-2010-050 - CAPTCHA - Cross Site Scripting (Drupal)