#VU110548 Improper Neutralization of Argument Delimiters in a Command in PHP - CVE-2001-1246


| Updated: 2025-06-10

Vulnerability identifier: #VU110548

Vulnerability risk: Medium

CVSSv4.0: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2001-1246

CWE-ID: CWE-88

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
PHP
Universal components / Libraries / Scripting languages

Vendor: PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail() function, which allows local users and possibly remote attackers to execute arbitrary commands via shell metacharacters.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PHP: 4.1, 4.1.0


External links
https://www.iss.net/security_center/static/6787.php
https://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz
https://online.securityfocus.com/archive/1/194425
https://www.redhat.com/support/errata/RHSA-2002-102.html
https://www.redhat.com/support/errata/RHSA-2002-129.html
https://www.redhat.com/support/errata/RHSA-2003-159.html
https://www.securityfocus.com/bid/2954


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability