{"id":"CVE-2001-1246","published":"2002-06-25T04:00:00Z","modified":"2024-08-08T04:51:08Z","title":"PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail() function, which allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09725,"percentile":0.95633,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2003-159.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-129.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.iss.net/security_center/static/6787.php","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/2954","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://online.securityfocus.com/archive/1/194425","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-102.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.13},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2001-06-30"},"first":{"date":"2001-06-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/20985"},"provenance":"source"},"summary":{"text":"The flaw lies in PHP versions 4.0.5 through 4.1.0 running in safe mode, where the fifth parameter to the mail() function is not properly sanitised. Local users, and possibly remote attackers, can execute arbitrary commands by supplying shell metacharacters in that parameter.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:52:33Z"},"euvd":{"id":"EUVD-2001-1227","exploited":false,"provenance":"source"},"exploits":[{"id":20985,"url":"https://www.exploit-db.com/exploits/20985","title":"PHP 4.x - SafeMode Arbitrary File Execution","date":"2001-06-30","verified":true,"provenance":"source"}]}