CVE-2002-0985: High severity PHP PHP vulnerability
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.
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2002-0985?
CVE-2002-0985 has a medium severity rating, as it allows for argument injection that can potentially alter MTA behavior.
How do I fix CVE-2002-0985?
To fix CVE-2002-0985, upgrade PHP to a version newer than 4.2.2 or apply relevant patches provided by the PHP project.
What versions of PHP are affected by CVE-2002-0985?
CVE-2002-0985 affects PHP versions from 4.0.x up to 4.2.2, including multiple specific past versions.
Can CVE-2002-0985 lead to remote code execution?
Yes, CVE-2002-0985 can allow attackers to modify command line arguments, potentially leading to remote code execution under certain conditions.
Is there a workaround for CVE-2002-0985 if I cannot upgrade PHP?
A temporary workaround for CVE-2002-0985 includes disabling PHP safe mode, but this is not recommended due to other security risks.