Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
BID:36557
Info
Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
| Bugtraq ID: | 36557 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 30 2009 12:00AM |
| Updated: | Sep 30 2009 08:20PM |
| Credit: | Greg Knaddison of the Drupal Security Team |
| Vulnerable: |
Drupal Browscap 6.x-1.0 Drupal Browscap 5.x-1.0 |
| Not Vulnerable: |
Drupal Browscap 6.x-1.1 Drupal Browscap 5.x-1.1 |
Discussion
Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
The Browscap module for Drupal is prone to an HTML-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would 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 Browscap 6.x-1.1 and 5.x-1.1 are affected.
The Browscap module for Drupal is prone to an HTML-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in dynamically generated content.
Attacker-supplied HTML and script code would 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 Browscap 6.x-1.1 and 5.x-1.1 are affected.
Exploit / POC
Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Attackers can use a browser to exploit this issue.
Solution / Fix
Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
Solution:
The vendor has released an update. Please see the references for details.
Solution:
The vendor has released an update. Please see the references for details.
References
Drupal Browscap Module User Agent Strings HTML Injection Vulnerability
References:
References:
- browscap 5.x-1.1 (Drupal)
- browscap 6.x-1.1 (Drupal)
- Browscap Homepage (Drupal)
- SA-CONTRIB-2009-065 - Browscap - Cross Site Scripting (Drupal)