phpMyAdmin up to 4.0.4.1 Parameter Validation schema_export.php $_POST['pdf_page_number'] sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

A vulnerability, which was classified as critical, has been found in phpMyAdmin (Database Administration Software). Affected by this issue is an unknown functionality of the file schema_export.php of the component Parameter Validation Handler. The manipulation of the argument $_POST['pdf_page_number'] with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Multiple SQL injection vulnerabilities in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allow remote authenticated users to execute arbitrary SQL commands via (1) the scale parameter to pmd_pdf.php or (2) the pdf_page_number parameter to schema_export.php.

The weakness was shared 07/28/2013 by Noam Rathaus as PMASA-2013-15 as confirmed advisory (Website). The advisory is available at phpmyadmin.net. The vendor cooperated in the coordination of the public release. This vulnerability is handled as CVE-2013-5003 since 07/29/2013. The exploitation is known to be easy. The attack may be launched remotely. The successful exploitation needs a simple authentication. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1505 by the MITRE ATT&CK project.

By approaching the search of inurl:schema_export.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 70753 (GLSA-201311-02 : phpMyAdmin: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 122524 (Fedora Security Update for phpMyAdmin (FEDORA-2014-8577)).

Upgrading to version 3.5.8.2 eliminates this vulnerability. The upgrade is hosted for download at phpmyadmin.net. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (86033), Tenable (70753), SecurityFocus (BID 61493†), OSVDB (95788†) and Secunia (SA54295†). The entries VDB-9793, VDB-9795, VDB-9796 and VDB-9797 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 70753
Nessus Name: GLSA-201311-02 : phpMyAdmin: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 702975
OpenVAS Name: Debian Security Advisory DSA 2975-1 (phpmyadmin - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: phpMyAdmin 3.5.8.2
Patch: github.com

Timelineinfo

07/28/2013 🔍
07/28/2013 +0 days 🔍
07/28/2013 +0 days 🔍
07/28/2013 +0 days 🔍
07/29/2013 +1 days 🔍
07/29/2013 +0 days 🔍
07/31/2013 +2 days 🔍
07/31/2013 +0 days 🔍
08/12/2013 +12 days 🔍
05/20/2021 +2838 days 🔍

Sourcesinfo

Product: phpmyadmin.net

Advisory: PMASA-2013-15
Researcher: Noam Rathaus
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-5003 (🔍)
GCVE (CVE): GCVE-0-2013-5003
GCVE (VulDB): GCVE-100-9794

OVAL: 🔍

X-Force: 86033
SecurityFocus: 61493 - RETIRED: phpMyAdmin Multiple SQL Injection and Cross Site Scripting Vulnerabilities
Secunia: 54295 - phpMyAdmin Multiple Vulnerabilities, Less Critical
OSVDB: 95788
Vulnerability Center: 40981 - phpMyAdmin Multiple SQL Injection Vulnerabilities Allows Remote SQL Code Execution via Multiple Parameters, Medium

See also: 🔍

Entryinfo

Created: 07/31/2013 10:15 AM
Updated: 05/20/2021 07:14 PM
Changes: 07/31/2013 10:15 AM (80), 05/08/2017 09:06 AM (8), 05/20/2021 07:14 PM (3)
Complete: 🔍
Committer: olku
Cache ID: 18:734:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!