Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmyadmin/phpmyadmin
  4. ›
  5. CVE-2013-3239

CVE-2013-3239: Improper Control of Generation of Code ('Code Injection')

May 17, 2022 (updated August 29, 2023)

phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3, when a SaveDir directory is configured, allows remote authenticated users to execute arbitrary code by using a double extension in the filename of an export file, leading to interpretation of this file as an executable file by the Apache HTTP Server, as demonstrated by a .php.sql filename.

References

  • lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html
  • lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html
  • lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html
  • lists.opensuse.org/opensuse-updates/2013-06/msg00181.html
  • www.phpmyadmin.net/home_page/security/PMASA-2013-3.php
  • github.com/advisories/GHSA-gg36-9346-9qx9
  • github.com/phpmyadmin/phpmyadmin/commit/1f6bc0b707002e26cab216b9e57b4d5de764de48
  • github.com/phpmyadmin/phpmyadmin/commit/d3fafdfba0807068196655e9b6d16c5d1d3ccf8a
  • nvd.nist.gov/vuln/detail/CVE-2013-3239

Code Behaviors & Features

Detect and mitigate CVE-2013-3239 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.5.0 before 3.5.8.1

Fixed versions

  • 3.5.8.1

Solution

Upgrade to version 3.5.8.1 or above.

Impact 4.6 MEDIUM

AV:N/AC:H/Au:S/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/phpmyadmin/phpmyadmin/CVE-2013-3239.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:13 +0000.