Drupal comment_form_add_preview() code execution
| drupal-commentformaddpreview-code-execution (31940) |
Description:
Drupal could allow a remote attacker to execute arbitrary code, caused by the improper handling of comments by the comment_form_add_preview() function. An attacker with "post comments" permission and access to multiple input files could exploit this vulnerability to execute arbitrary code on the vulnerable Web server.
Platforms Affected:
- Drupal, Drupal 4.7.x prior to 4.7.6
- Drupal, Drupal 5.x prior to 5.1
Remedy:
Refer to DRUPAL-SA-2007-005, for patch, upgrade, or suggested workaround information. See References.
Consequences:
Gain Access
References:
- DRUPAL-SA-2007-005, Drupal core - Arbitrary code execution at http://drupal.org/node/113935.
- BID-22306: Drupal Comment_Form_Add_Preview Function Remote Code Execution Vulnerability
- CVE-2007-0626: The comment_form_add_preview function in comment.module in Drupal before 4.7.6, and 5.x before 5.1, and vbDrupal, allows remote attackers with post comments privileges and access to multiple input filters to execute arbitrary code by previewing comments, which are not processed by normal form validation routines.
- SA23960: Drupal Comment Preview Arbitrary Code Execution
- SA23990: vbDrupal Comment Preview Arbitrary Code Execution
- VUPEN/ADV-2007-0406: Drupal comment_form_add_preview() Comment Preview Code Execution Vulnerability
- VUPEN/ADV-2007-0415: vbDrupal Security Update Fixes Comment Preview Command Execution Vulnerability
Reported:
Jan 29, 2007
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
