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.

Exploit / POC

Drupal Browscap Module User Agent Strings HTML Injection Vulnerability

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.

References

Drupal Browscap Module User Agent Strings HTML Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report