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.
*CVSS:
| Base Score: | 7 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5.2 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Refer to DRUPAL-SA-2007-005, for patch, upgrade, or suggested workaround information. See References.
References:
- DRUPAL-SA-2007-005: Drupal core - Arbitrary code execution.
- 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
Platforms Affected:
- Drupal Drupal 4.7.x prior to 4.7.6
- Drupal Drupal 5.x prior to 5.1
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
