Drupal Arbitrary PHP Code Execution Vulnerability

BID:14110

Info

Drupal Arbitrary PHP Code Execution Vulnerability

Bugtraq ID: 14110
Class: Input Validation Error
CVE: CVE-2005-2106
Remote: Yes
Local: No
Published: Jun 30 2005 12:00AM
Updated: Jul 12 2009 04:06PM
Credit: Kuba Zygmunt is credited with the discovery of this vulnerability.
Vulnerable: Drupal Drupal 4.6.1
Drupal Drupal 4.6
Drupal Drupal 4.5.3
+ Debian Linux 3.1 sparc
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 s/390
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 ppc
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mipsel
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 mips
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 m68k
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-64
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 ia-32
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 hppa
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 arm
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1 alpha
+ Debian Linux 3.1
+ Debian Linux 3.1
Drupal Drupal 4.5.2
Drupal Drupal 4.5.2
Drupal Drupal 4.5.1
Drupal Drupal 4.5
Not Vulnerable: Drupal Drupal 4.6.2
Drupal Drupal 4.5.4

Discussion

Drupal Arbitrary PHP Code Execution Vulnerability

Drupal is prone to a vulnerability that permits the execution of arbitrary PHP code. This issue is due to a failure in the application to properly sanitize user-supplied input.

The application's filter mechanism fails to properly sanitize user-supplied input to 'comments' and 'postings'.

The vendor has addressed this issue in Drupal versions 4.6.2 and 4.5.4; earlier versions are reported vulnerable.

Exploit / POC

Drupal Arbitrary PHP Code Execution Vulnerability

No exploit is required.

A proof of concept has been provided by dab <[email protected]>.

Solution / Fix

Drupal Arbitrary PHP Code Execution Vulnerability

Solution:
The vendor has addressed this issue in Drupal 4.6.2 and 4.5.4.

Debian Linux has relased security advisory DSA 745-1 addressing this issue for drupal. Please see the referenced advisory for details on obtaining and applying the appropriate updates.


Drupal Drupal 4.5

Drupal Drupal 4.5.1

Drupal Drupal 4.5.2

Drupal Drupal 4.5.2

Drupal Drupal 4.5.3

Drupal Drupal 4.6

Drupal Drupal 4.6.1

References

Drupal Arbitrary PHP Code Execution Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report