Drupal Sections Module HTML Injection Vulnerability
BID:37371
Info
Drupal Sections Module HTML Injection Vulnerability
| Bugtraq ID: | 37371 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 16 2009 12:00AM |
| Updated: | Dec 17 2009 08:43PM |
| Credit: | Justin C. Klein Keane |
| Vulnerable: |
Drupal Sections 6.x-1.2 Drupal Sections 5.x-1.2 |
| Not Vulnerable: |
Drupal Sections 6.x-1.3 Drupal Sections 5.x-1.3 |
Discussion
Drupal Sections Module HTML Injection Vulnerability
The Sections 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.
To exploit this issue, the attacker must have 'administer sections' permissions.
Versions prior to Sections 5.x-1.3 and 6.x-1.3 are vulnerable.
The Sections 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.
To exploit this issue, the attacker must have 'administer sections' permissions.
Versions prior to Sections 5.x-1.3 and 6.x-1.3 are vulnerable.
Exploit / POC
Drupal Sections Module HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example input is available:
<script>alert('xss');</script>
Attackers can use a browser to exploit this issue.
The following example input is available:
<script>alert('xss');</script>
Solution / Fix
Drupal Sections Module HTML Injection Vulnerability
Solution:
Updates are available. Please see the references for details.
Drupal Sections 6.x-1.2
Drupal Sections 5.x-1.2
Solution:
Updates are available. Please see the references for details.
Drupal Sections 6.x-1.2
-
Drupal sections-6.x-1.3.tar.gz
http://ftp.drupal.org/files/projects/sections-6.x-1.3.tar.gz
Drupal Sections 5.x-1.2
-
Drupal sections-5.x-1.3.tar.gz
http://ftp.drupal.org/files/projects/sections-5.x-1.3.tar.gz
References
Drupal Sections Module HTML Injection Vulnerability
References:
References: