{"id":"EDB-29784","name":"PHP <= 4.4.6 / <= 5.2.1 - Folded Mail Headers Email Header Injection","description":"PHP <= 4.4.6 / <= 5.2.1 - Folded Mail Headers Email Header Injection","cves":["CVE-2007-1718","CVE-2007-1717"],"author":"Stefan Esser","published":"2007-11-26","platform":"php","type":"remote","language":"PHP","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/29784","path":"exploits/php/remote/29784.php","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-29784.php","vulnerabilities":[{"id":"CVE-2007-1718","state":"PUBLISHED","title":null,"titleSource":null,"description":"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-1718","cvss":{"version":"2.0","baseScore":7.8,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:N/I:C/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-1718"},"updatedAt":"2024-08-07T13:06:26.069Z","retrievedAt":"2026-11-26T22:10:37.602Z","stale":false,"error":null},{"id":"CVE-2007-1717","state":"PUBLISHED","title":null,"titleSource":null,"description":"The mail function in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 truncates e-mail messages at the first ASCIIZ ('\\0') byte, which might allow context-dependent attackers to prevent intended information from being delivered in e-mail messages. NOTE: this issue might be security-relevant in cases when the trailing contents of e-mail messages are important, such as logging information or if the message is expected to be well-formed.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-1717","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-1717"},"updatedAt":"2024-08-07T13:06:26.101Z","retrievedAt":"2026-11-26T22:21:11.162Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-29784.png?v=2","url":"https://exploitbin.com/exploits/EDB-29784","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-29784/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-29784/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}