Vulnerabilities · 2001 · Php
CVE-2001-1246
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.iss.net/security_center/static/6787.php · Patch
- online.securityfocus.com/archive/1/194425 · Third Party Advisory
- www.securityfocus.com/bid/2954 · Third Party Advisory
- www.php.net/do_download.php?download_file=php-4.1.2.tar.gz
- www.redhat.com/support/errata/RHSA-2002-102.html
- www.redhat.com/support/errata/RHSA-2002-129.html
- www.redhat.com/support/errata/RHSA-2003-159.html
- nvd.nist.gov/vuln/detail/CVE-2001-1246
- cve.org/CVERecord?id=CVE-2001-1246
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.