Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
BID:52341
Info
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
| Bugtraq ID: | 52341 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 07 2012 12:00AM |
| Updated: | Mar 07 2012 12:00AM |
| Credit: | Katherine Senzee |
| Vulnerable: |
Drupal Block Class 6.x-1.3 Drupal Block Class 6.x-1.2 Drupal Block Class 6.x-1.1 Drupal Block Class 5.x-1.1 Drupal Block Class 5.x-1.0 |
| Not Vulnerable: |
Drupal Block Class 7.x-1.1 Drupal Block Class 7.x-1.0 |
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 control how the site is rendered to the user. Other attacks are also possible.
Versions prior to Block Class 7.x-1.0 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 control how the site is rendered to the user. Other attacks are also possible.
Versions prior to Block Class 7.x-1.0 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.
Drupal Block Class 6.x-1.1
Drupal Block Class 5.x-1.1
Drupal Block Class 5.x-1.0
Drupal Block Class 6.x-1.3
Drupal Block Class 6.x-1.2
Solution:
Updates are available. Please see the references for details.
Drupal Block Class 6.x-1.1
-
Drupal block_class 7.x-1.1
http://drupal.org/node/1471090
Drupal Block Class 5.x-1.1
-
Drupal block_class 7.x-1.1
http://drupal.org/node/1471090
Drupal Block Class 5.x-1.0
-
Drupal block_class 7.x-1.1
http://drupal.org/node/1471090
Drupal Block Class 6.x-1.3
-
Drupal block_class 7.x-1.1
http://drupal.org/node/1471090
Drupal Block Class 6.x-1.2
-
Drupal block_class 7.x-1.1
http://drupal.org/node/1471090
References
Drupal Block Class Module 'Class' Field HTML Injection Vulnerability
References:
References:
- Drupal Homepage (Drupal)
- SA-CONTRIB-2012-032 - Block Class - Cross Site scripting (Drupal)