{"id":"CVE-2001-1246","aliases":["EUVD-2001-1227","GHSA-7pf5-hfgr-ch72"],"status":"published","title":"PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail()...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.09725,"percentile":0.9555,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-88"],"published":"2001-06-30T04:00:00Z","modified":"2026-06-16T21:55:53Z","exploits":[{"source":"exploitdb","id":"EDB-20985","title":"PHP 4.x - SafeMode Arbitrary File Execution","type":"local","platform":"php","date":"2001-06-30","verified":true,"url":"https://www.exploit-db.com/exploits/20985"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2003-159.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-129.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link"]},{"url":"http://www.iss.net/security_center/static/6787.php","tags":["vdb-entry","x_refsource_XF","x_transferred","Broken Link","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/2954","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://online.securityfocus.com/archive/1/194425","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-102.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link"]},{"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","tags":["x_refsource_CONFIRM","x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2001-1246"},{"url":"https://github.com/advisories/GHSA-7pf5-hfgr-ch72"}],"sources":{"cve":[{"id":"CVE-2001-1246","description":"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.","status":"published","published":"2002-06-25T04:00:00Z","modified":"2024-08-08T04:51:08.236Z","updated_at":"2026-11-02T14:34:42.680977Z"}],"euvd":[{"id":"EUVD-2001-1227","description":"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.","status":"published","published":"2002-06-25T04:00:00Z","modified":"2024-08-08T04:51:08Z","updated_at":"2026-11-03T00:56:28.268448Z"}],"ghsa":[{"id":"GHSA-7pf5-hfgr-ch72","title":"PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail()...","description":"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.","status":"published","published":"2022-04-30T18:17:38Z","modified":"2025-04-03T03:41:35Z","cwes":["CWE-88"],"updated_at":"2026-11-02T15:00:37.520566Z"}],"nvd":[{"id":"CVE-2001-1246","description":"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.","status":"published","published":"2001-06-30T04:00:00Z","modified":"2026-06-16T21:55:53.293Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:00:40.041412Z"}]}}
