{"exploit":{"id":"EDB-30130","name":"PHP <= 4.4.7 / <= 5.2.3 - EXT/Session HTTP Response Header Injection","description":"PHP <= 4.4.7 / <= 5.2.3 - EXT/Session HTTP Response Header Injection","cves":["CVE-2007-3799"],"author":"Stefan Esser","published":"2007-06-04","platform":"php","type":"remote","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/30130","path":"exploits/php/remote/30130.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-30130.txt","vulnerabilities":[{"id":"CVE-2007-3799","state":"PUBLISHED","title":null,"titleSource":null,"description":"The session_start function in ext/session in PHP 4.x up to 4.4.7 and 5.x up to 5.2.3 allows remote attackers to insert arbitrary attributes into the session cookie via special characters in a cookie that is obtained from (1) PATH_INFO, (2) the session_id function, and (3) the session_start function, which are not encoded or filtered when the new session cookie is generated, a related issue to CVE-2006-0207.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2007-3799","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2007-3799"},"updatedAt":"2024-08-07T14:28:52.465Z","retrievedAt":"2026-11-27T07:10:49.020Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-30130.png?v=2","url":"https://exploitbin.com/exploits/EDB-30130","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-30130/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-30130/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2007/https://www.securityfocus.com/bid/24268/info\n\nPHP is prone to an HTTP-response-header-injection vulnerability because it fails to sanitize user-supplied input.\n\nAn attacker can exploit this issue to inject additional cookie attributes into session cookies. This may lead to other attacks.\n\nThis issue affects PHP 5.2.3 (and prior versions) and PHP 4.4.7 (and prior versions).\n\n----------------------------------------\n\nhttp://www.example.com/session.php/PHPSESSID=ID;INJECTED=ATTRIBUTE;/","sha256":"0efeb7b8371f80c8d7353768b5a551b05af79a159ebd1d92f6ea704b0925e2ca","bytes":528,"fetchedAt":"2026-11-27T07:10:43.017Z","encoding":"utf-8 (display only; download retains original bytes)"}