CVE-2002-0985 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....
HighCVSS 7.5
EPSS 3.0%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 4.0, <= 4.2.2 | No fix listed |
| openpkg | = 1.1 | No fix listed |
| openpkg | = 1.2 | No fix listed |
References
- CLA-2002:545 broken-link vendor-advisory
- 20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail() mailing-list third-party-advisory
- 20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php) mailing-list third-party-advisory
- DSA-168 broken-link patch vendor-advisory
- MDKSA-2003:082 broken-link vendor-advisory
- SuSE-SA:2002:036 broken-link vendor-advisory
- 2111 broken-link vdb-entry
- RHSA-2002:213 broken-link patch vendor-advisory
- RHSA-2002:214 broken-link vendor-advisory
- RHSA-2002:243 broken-link vendor-advisory
- RHSA-2002:244 broken-link vendor-advisory
- RHSA-2002:248 broken-link vendor-advisory
- RHSA-2003:159 broken-link vendor-advisory
- php-mail-safemode-bypass(9966) third-party-advisory vdb-entry