CVE-2009-3696: Phpmyadmin/phpmyadmin Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-5pvv-f8h3-gw96
CWE-79
Published
Advisory Summary

CVE-2009-3696 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Phpmyadmin/phpmyadmin libraries in the Packagist ecosystem. The issue involves phpmyadmin cross-site scripting in mysql table name. Remediation is available by upgrading affected packages to version 2.11.9.6, 3.2.2.1.

CVE-2009-3696 at a Glance

CVE Identifier CVE-2009-3696
GHSA Identifier GHSA-5pvv-f8h3-gw96
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Phpmyadmin/phpmyadmin
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2009-3696

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: 2.11.9.6
Upgrade phpmyadmin/phpmyadmin to 2.11.9.6
phpmyadmin/phpmyadmin fixed: 3.2.2.1
Upgrade phpmyadmin/phpmyadmin to 3.2.2.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-3696, 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 2.11.9.6), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. 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

Cross-site scripting (XSS) vulnerability in phpMyAdmin 2.11.x before 2.11.9.6 and 3.x before 3.2.2.1 allows remote attackers to inject arbitrary web script or HTML via a crafted name for a MySQL table.

CVE-2009-3696 Affected Phpmyadmin/phpmyadmin Versions

2 component(s)
Fixed Versions:
2.11.9.63.2.2.1
Product / Package Ecosystem Affected Versions Fixed Version
phpmyadmin/phpmyadmin
Packagist
≥ 2.11.0
< 2.11.9.6
2.11.9.6
phpmyadmin/phpmyadmin
Packagist
≥ 3.0.0
< 3.2.2.1
3.2.2.1

References

NVD — CVE-2009-3696 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-3696
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/212daad0c082dfb853e3a4098838781a96b2ce1f
Security Fix Commit FIX COMMIT
https://github.com/phpmyadmin/phpmyadmin/commit/8ec5434999724f61d7df1f9b0b13545274c78b1e
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=528769
exchange.xforce.ibmcloud.com/vulnerabilities/537... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/53742
Phpmyadmin/phpmyadmin Source Repository REPOSITORY
https://github.com/phpmyadmin/phpmyadmin
Phpmyadmin/phpmyadmin Security Information SECURITY
https://web.archive.org/web/20200228173112/http://www.securityfocus.com/bid/36658
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00467.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00490.html
bugs.gentoo.org/show_bug.cgi WEB
http://bugs.gentoo.org/show_bug.cgi?id=288899
dfn.dl.sourceforge.net/project/phpmyadmin/... WEB
http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/2.11.9.6/phpMyAdmin-2.11.9.6-notes.html
dfn.dl.sourceforge.net/project/phpmyadmin/... WEB
http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.2.2.1/phpMyAdmin-3.2.2.1-notes.html
freshmeat.net/projects/phpmyadmin... WEB
http://freshmeat.net/projects/phpmyadmin/releases/306667
freshmeat.net/projects/phpmyadmin... WEB
http://freshmeat.net/projects/phpmyadmin/releases/306669
Phpmyadmin/phpmyadmin Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html
marc.info/ WEB
http://marc.info/?l=oss-security&m=125553728512853&w=2
marc.info/ WEB
http://marc.info/?l=oss-security&m=125561979001460&w=2
typo3.org/extensions/reposito... WEB
http://typo3.org/extensions/repository/view/phpmyadmin/4.5.0
Phpmyadmin/phpmyadmin Security Information SECURITY
http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-015
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2009:274
Phpmyadmin/phpmyadmin Security Information SECURITY
http://www.phpmyadmin.net/home_page/security/PMASA-2009-6.php

Frequently Asked Questions

What is CVE-2009-3696?
CVE-2009-3696 is a security vulnerability in Phpmyadmin/phpmyadmin involving phpMyAdmin Cross-site Scripting In MySQL Table Name under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Phpmyadmin/phpmyadmin versions are affected?
Affected versions include releases prior to 2.11.9.6, 3.2.2.1 across affected packages: phpmyadmin/phpmyadmin.
What version fixes CVE-2009-3696?
Upgrading to 2.11.9.6, 3.2.2.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 2.11.9.6, 3.2.2.1. Upgrade your dependency to 2.11.9.6, 3.2.2.1 or later.
What CWE is associated with CVE-2009-3696?
CVE-2009-3696 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2009-3696?
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-5pvv-f8h3-gw96",
  "modified" : "2024-02-08T22:02:35Z",
  "published" : "2022-05-02T03:47:43Z",
  "aliases" : [ "CVE-2009-3696" ],
  "summary" : "phpMyAdmin Cross-site Scripting In MySQL Table Name",
  "details" : "Cross-site scripting (XSS) vulnerability in phpMyAdmin 2.11.x before 2.11.9.6 and 3.x before 3.2.2.1 allows remote attackers to inject arbitrary web script or HTML via a crafted name for a MySQL table.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "phpmyadmin/phpmyadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.11.0"
      }, {
        "fixed" : "2.11.9.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "phpmyadmin/phpmyadmin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.2.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-3696"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/212daad0c082dfb853e3a4098838781a96b2ce1f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/phpmyadmin/phpmyadmin/commit/8ec5434999724f61d7df1f9b0b13545274c78b1e"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=528769"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/53742"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/phpmyadmin/phpmyadmin"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228173112/http://www.securityfocus.com/bid/36658"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00467.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-October/msg00490.html"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.gentoo.org/show_bug.cgi?id=288899"
  }, {
    "type" : "WEB",
    "url" : "http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/2.11.9.6/phpMyAdmin-2.11.9.6-notes.html"
  }, {
    "type" : "WEB",
    "url" : "http://dfn.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.2.2.1/phpMyAdmin-3.2.2.1-notes.html"
  }, {
    "type" : "WEB",
    "url" : "http://freshmeat.net/projects/phpmyadmin/releases/306667"
  }, {
    "type" : "WEB",
    "url" : "http://freshmeat.net/projects/phpmyadmin/releases/306669"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=oss-security&m=125553728512853&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=oss-security&m=125561979001460&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/extensions/repository/view/phpmyadmin/4.5.0"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-015"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2009:274"
  }, {
    "type" : "WEB",
    "url" : "http://www.phpmyadmin.net/home_page/security/PMASA-2009-6.php"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-08T22:02:34Z",
    "nvd_published_at" : "2009-10-16T16:30:00Z"
  }
}