CVE-2009-1149: Phpmyadmin/phpmyadmin PhpMyAdmin HTTP Response Splitting Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-xrpq-63mp-9vcw
CWE-113 CWE-20
Published
Advisory Summary

CVE-2009-1149 is a HIGH phpmyadmin http response splitting vulnerability vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin http response splitting vulnerability. Remediation is available by upgrading affected packages to version 3.1.3.1.

CVE-2009-1149 at a Glance

CVE Identifier CVE-2009-1149
GHSA Identifier GHSA-xrpq-63mp-9vcw
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
Affected Product Phpmyadmin/phpmyadmin
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2009-1149

To remediate this vulnerability, upgrade all affected Phpmyadmin/phpmyadmin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

phpmyadmin/phpmyadmin fixed: 3.1.3.1
Upgrade phpmyadmin/phpmyadmin to 3.1.3.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for phpmyadmin/phpmyadmin

How to Check if You Are Affected

To determine whether your application is affected by CVE-2009-1149, inspect your project dependencies for Phpmyadmin/phpmyadmin:

inspect dependencies for phpmyadmin/phpmyadmin

Analyze the terminal output to locate any version of Phpmyadmin/phpmyadmin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.3.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting'), where the product receives data from an http agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes cr and lf characters before the data is included in outgoing http headers. In Phpmyadmin/phpmyadmin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

CRLF injection vulnerability in `bs_disp_as_mime_type.php` in the BLOB streaming feature in phpMyAdmin before 3.1.3.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the (1) `c_type` and possibly (2) `file_type` parameters.

CVE-2009-1149 Affected Phpmyadmin/phpmyadmin Versions

1 component(s)
Fixed Versions:
3.1.3.1
Product / Package Ecosystem Affected Versions Fixed Version
phpmyadmin/phpmyadmin
Packagist
< 3.1.3.1
3.1.3.1

References

Frequently Asked Questions

What is CVE-2009-1149?
CVE-2009-1149 is a security vulnerability in Phpmyadmin/phpmyadmin involving phpMyAdmin HTTP Response Splitting Vulnerability under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting').
Which Phpmyadmin/phpmyadmin versions are affected?
Affected versions include releases prior to 3.1.3.1 across affected packages: phpmyadmin/phpmyadmin.
What version fixes CVE-2009-1149?
Upgrading to 3.1.3.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is phpmyadmin/phpmyadmin affected?
Yes, phpmyadmin/phpmyadmin is affected in releases prior to 3.1.3.1. Upgrade your dependency to 3.1.3.1 or later.
What CWE is associated with CVE-2009-1149?
CVE-2009-1149 is classified under CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') (The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers.).
How can I check Packagist dependencies for CVE-2009-1149?
Run the dependency tree command: 'inspect dependencies for phpmyadmin/phpmyadmin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xrpq-63mp-9vcw",
  "modified" : "2024-01-23T18:12:57Z",
  "published" : "2022-05-02T03:22:03Z",
  "aliases" : [ "CVE-2009-1149" ],
  "summary" : "phpMyAdmin HTTP Response Splitting Vulnerability",
  "details" : "CRLF injection vulnerability in `bs_disp_as_mime_type.php` in the BLOB streaming feature in phpMyAdmin before 3.1.3.1 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via the (1) `c_type` and possibly (2) `file_type` parameters.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "phpmyadmin/phpmyadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.3.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-1149"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/69bfbf11c7e9487dfa96293aaa797ff14bb513f0"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/phpmyadmin/composer"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_3_1_3/phpMyAdmin/bs_disp_as_mime_type.php?r1=12303&r2=12302&pathrev=12303"
  }, {
    "type" : "WEB",
    "url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2009-1.php"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-113", "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-23T18:12:57Z",
    "nvd_published_at" : "2009-03-26T14:30:00Z"
  }
}