{"api_version":"1","generated_at":"2026-07-23T09:08:19+00:00","cve":"CVE-2011-1398","urls":{"html":"https://cve.report/CVE-2011-1398","api":"https://cve.report/api/cve/CVE-2011-1398.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-1398","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-1398"},"summary":{"title":"CVE-2011-1398","description":"The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-08-30 22:55:02","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://openwall.com/lists/oss-security/2012/09/05/15","name":"http://openwall.com/lists/oss-security/2012/09/05/15","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: php header() header injection detection bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html","name":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE-SU-2013:1315-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id?1027463","name":"http://www.securitytracker.com/id?1027463","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP HTTP Response Splitting Header Injection Protection Can Be Bypassed Using Carriage Return Characters - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security-tracker.debian.org/tracker/CVE-2011-1398","name":"http://security-tracker.debian.org/tracker/CVE-2011-1398","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"CVE-2011-1398","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1569-1","name":"http://www.ubuntu.com/usn/USN-1569-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1569-1: PHP vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html","name":"http://rhn.redhat.com/errata/RHSA-2013-1307.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://article.gmane.org/gmane.comp.php.devel/70584","name":"http://article.gmane.org/gmane.comp.php.devel/70584","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"article.gmane.org | 522: Connection timed out","mime":"text/html","httpstatus":"522","archivestatus":"522"},{"url":"http://secunia.com/advisories/55078","name":"http://secunia.com/advisories/55078","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"About Secunia Research | Flexera","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2012/08/29/5","name":"http://openwall.com/lists/oss-security/2012/08/29/5","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - php header() header injection detection bypass","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=60227","name":"https://bugs.php.net/bug.php?id=60227","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP :: Bug #60227 :: header() cannot detect the multi-line header with CR(0x0D).","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-1398","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-1398","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"5.3.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"1398","vulnerable":"1","versionEndIncluding":"5.3.10","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T22:28:40.271Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20120905 Re: php header() header injection detection bypass","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2012/09/05/15"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://security-tracker.debian.org/tracker/CVE-2011-1398"},{"name":"1027463","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"],"url":"http://www.securitytracker.com/id?1027463"},{"name":"55078","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/55078"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugs.php.net/bug.php?id=60227"},{"name":"RHSA-2013:1307","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html"},{"name":"[oss-security] 20120829 php header() header injection detection bypass","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://openwall.com/lists/oss-security/2012/08/29/5"},{"name":"SUSE-SU-2013:1315","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"[internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://article.gmane.org/gmane.comp.php.devel/70584"},{"name":"USN-1569-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1569-1"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-02-03T00:00:00.000Z","descriptions":[{"lang":"en","value":"The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2012-09-13T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"[oss-security] 20120905 Re: php header() header injection detection bypass","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2012/09/05/15"},{"tags":["x_refsource_CONFIRM"],"url":"http://security-tracker.debian.org/tracker/CVE-2011-1398"},{"name":"1027463","tags":["vdb-entry","x_refsource_SECTRACK"],"url":"http://www.securitytracker.com/id?1027463"},{"name":"55078","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/55078"},{"tags":["x_refsource_MISC"],"url":"https://bugs.php.net/bug.php?id=60227"},{"name":"RHSA-2013:1307","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html"},{"name":"[oss-security] 20120829 php header() header injection detection bypass","tags":["mailing-list","x_refsource_MLIST"],"url":"http://openwall.com/lists/oss-security/2012/08/29/5"},{"name":"SUSE-SU-2013:1315","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"[internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP","tags":["mailing-list","x_refsource_MLIST"],"url":"http://article.gmane.org/gmane.comp.php.devel/70584"},{"name":"USN-1569-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1569-1"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2011-1398","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20120905 Re: php header() header injection detection bypass","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2012/09/05/15"},{"name":"http://security-tracker.debian.org/tracker/CVE-2011-1398","refsource":"CONFIRM","url":"http://security-tracker.debian.org/tracker/CVE-2011-1398"},{"name":"1027463","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1027463"},{"name":"55078","refsource":"SECUNIA","url":"http://secunia.com/advisories/55078"},{"name":"https://bugs.php.net/bug.php?id=60227","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=60227"},{"name":"RHSA-2013:1307","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-1307.html"},{"name":"[oss-security] 20120829 php header() header injection detection bypass","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2012/08/29/5"},{"name":"SUSE-SU-2013:1315","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html"},{"name":"[internals] 20120203 [PHP-DEV] The case of HTTP response splitting protection in PHP","refsource":"MLIST","url":"http://article.gmane.org/gmane.comp.php.devel/70584"},{"name":"USN-1569-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1569-1"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2011-1398","datePublished":"2012-08-30T22:00:00.000Z","dateReserved":"2011-03-10T00:00:00.000Z","dateUpdated":"2024-08-06T22:28:40.271Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-08-30 22:55:02","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.3.10","matchCriteriaId":"967EAC47-405C-4AA9-AC96-D3D750029AD0"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*","matchCriteriaId":"9EF4B938-BB14-4C06-BEE9-10CA755C5DEF"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*","matchCriteriaId":"981C922C-7A7D-473E-8C43-03AB62FB5B8B"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:*","matchCriteriaId":"5D0CD11A-09C2-4C60-8F0C-68E55BD6EE63"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*","matchCriteriaId":"B0F40E4A-E125-4099-A8B3-D42614AA9312"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*","matchCriteriaId":"4933D9DD-A630-4A3D-9D13-9E182F5F6F8C"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*","matchCriteriaId":"A9E6D530-91FC-42F4-A427-6601238E0187"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*","matchCriteriaId":"9EC938DB-E066-407F-BDF8-61A1C41136F7"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.7:*:*:*:*:*:*:*","matchCriteriaId":"ACDF768D-7F5A-4042-B7DD-398F65F3F094"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.8:*:*:*:*:*:*:*","matchCriteriaId":"2AF35BB6-C6B1-4683-A8BE-AA72CC34F5B5"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:5.3.9:*:*:*:*:*:*:*","matchCriteriaId":"EC3F1891-032D-409C-904C-A415D2323DFC"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2011","CveId":"1398","Ordinal":"1","Title":"CVE-2011-1398","CVE":"CVE-2011-1398","Year":"2011"},"notes":[{"CveYear":"2011","CveId":"1398","Ordinal":"1","NoteData":"The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.","Type":"Description","Title":"CVE-2011-1398"},{"CveYear":"2011","CveId":"1398","Ordinal":"2","NoteData":"2012-08-30","Type":"Other","Title":"Published"},{"CveYear":"2011","CveId":"1398","Ordinal":"3","NoteData":"2012-09-13","Type":"Other","Title":"Modified"}]}}}