Skip to content
OpenAdvisories
Unscored CVE-2002-0985 EUVD-2002-0974GHSA-39rv-383r-32wp

Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify …

Published Sep 1, 2004 · Updated Aug 8, 2024 · Assigned by mitre

Description

Argument injection vulnerability in the mail function for PHP 4.x to 4.2.2 may allow attackers to bypass safe mode restrictions and modify command line arguments to the MTA (e.g. sendmail) in the 5th argument to mail(), altering MTA behavior and possibly executing commands.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 3.0 php3 3.0.18-23.1woody1 DSA-168
Debian 3.0 php4 4.1.2-5 DSA-168

Advisories 1

References