Drupal Webform Module HTML Injection Vulnerability
BID:35197
Info
Drupal Webform Module HTML Injection Vulnerability
| Bugtraq ID: | 35197 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 03 2009 12:00AM |
| Updated: | Jun 03 2009 10:29PM |
| Credit: | David Rothstein |
| Vulnerable: |
Drupal Webform Module 6.x-2.0-beta3 Drupal Webform Module 6.x-2.0-beta2 Drupal Webform Module 5.x-2.0-beta3 Drupal Webform Module 5.x-2.0-beta2 Drupal Webform Module 5.x-1.9 Drupal Webform Module 5.x-1.10 |
| Not Vulnerable: |
Drupal Webform Module 6.x-2.7 Drupal Webform Module 5.x-2.7 |
Discussion
Drupal Webform Module HTML Injection Vulnerability
The Webform module for Drupal is prone to an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied data 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 Webform 5.x-2.7 and 6.x-2.7 are vulnerable.
The Webform module for Drupal is prone to an HTML-injection vulnerability because it fails to sufficiently sanitize user-supplied data 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 Webform 5.x-2.7 and 6.x-2.7 are vulnerable.
Exploit / POC
Drupal Webform Module HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Attackers can use a browser to exploit this issue.
Solution / Fix
Drupal Webform Module HTML Injection Vulnerability
Solution:
The vendor has released an advisory and fixes. Please see the references for details.
Drupal Webform Module 5.x-2.0-beta2
Drupal Webform Module 5.x-1.9
Drupal Webform Module 5.x-2.0-beta3
Drupal Webform Module 6.x-2.0-beta2
Drupal Webform Module 5.x-1.10
Drupal Webform Module 6.x-2.0-beta3
Solution:
The vendor has released an advisory and fixes. Please see the references for details.
Drupal Webform Module 5.x-2.0-beta2
-
Drupal webform-5.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-5.x-2.7.tar.gz
Drupal Webform Module 5.x-1.9
-
Drupal webform-5.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-5.x-2.7.tar.gz
Drupal Webform Module 5.x-2.0-beta3
-
Drupal webform-5.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-5.x-2.7.tar.gz
Drupal Webform Module 6.x-2.0-beta2
-
Drupal webform-6.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-6.x-2.7.tar.gz
Drupal Webform Module 5.x-1.10
-
Drupal webform-5.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-5.x-2.7.tar.gz
Drupal Webform Module 6.x-2.0-beta3
-
Drupal webform-6.x-2.7.tar.gz
http://ftp.drupal.org/files/projects/webform-6.x-2.7.tar.gz
References
Drupal Webform Module HTML Injection Vulnerability
References:
References: