CVE-2007-1718
What it is
CRLF injection vulnerability in the mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows remote attackers to inject arbitrary e-mail headers and possibly conduct spam attacks via a control character immediately following folding of the (1) Subject or (2) To parameter, as demonstrated by a parameter containing a "\r\n\t\n" sequence, related to an increment bug in the SKIP_LONG_HEADER_SEP macro.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 6.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 6.9% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 6.9% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP 4.0
- PHP 4.0.0
- PHP 4.0.1
- PHP 4.0.2
- PHP 4.0.3
- PHP 4.0.4
- PHP 4.0.5
- PHP 4.0.6
Attack profile CVSS 2.0 · 7.8
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Complete
- Availability
- None
Raw vector
AV:N/AC:L/Au:N/C:N/I:C/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-1718.md and follow it. Check whether this project is affected by CVE-2007-1718. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://rhn.redhat.com/errata/RHSA-2007-0155.html
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/24924
- http://secunia.com/advisories/24965
- http://secunia.com/advisories/25025
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/25445
- http://security.gentoo.org/glsa/glsa-200705-19.xml
- http://us2.php.net/releases/5_2_2.php
- http://www.debian.org/security/2007/dsa-1282
- http://www.debian.org/security/2007/dsa-1283
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:087
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:090
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-34-2007.html
- http://www.redhat.com/support/errata/RHSA-2007-0153.html
- http://www.redhat.com/support/errata/RHSA-2007-0162.html
- http://www.securityfocus.com/bid/23145
- http://www.securitytracker.com/id?1017946
- http://www.ubuntu.com/usn/usn-455-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33516