Vulnerabilities · 2002 · Php
CVE-2002-0985
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 products
Php, Openpkg. 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.debian.org/security/2002/dsa-168 · Patch
- www.redhat.com/support/errata/RHSA-2002-213.html · Patch
- marc.info/?l=bugtraq&m=103011916928204&w=2 · Third Party Advisory
- marc.info/?l=bugtraq&m=105760591228031&w=2 · Third Party Advisory
- exchange.xforce.ibmcloud.com/vulnerabilities/9966 · Third Party Advisory
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545
- www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082
- www.novell.com/linux/security/advisories/2002_036_modphp4.html
- nvd.nist.gov/vuln/detail/CVE-2002-0985
- cve.org/CVERecord?id=CVE-2002-0985
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.