Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
BID:37889
Info
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
| Bugtraq ID: | 37889 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 20 2010 12:00AM |
| Updated: | Jan 20 2010 12:00AM |
| Credit: | Didrik Nordström |
| Vulnerable: |
Drupal Block Class 6.x-1.2 Drupal Block Class 6.x-1.1 Drupal Block Class 5.x-1.0 |
| Not Vulnerable: |
Drupal Block Class 6.x-1.3 Drupal Block Class 5.x-1.1 |
Discussion
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
The Block Class 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 Block Class 5.x-1.2 and 6.x-1.3 are vulnerable.
The Block Class 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 Block Class 5.x-1.2 and 6.x-1.3 are vulnerable.
Exploit / POC
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Attackers can use a browser to exploit this issue.
Solution / Fix
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
Solution:
Updates are available. Please see the references for details.
Solution:
Updates are available. Please see the references for details.