phpMyAdmin up to 4.0.4.1 schema_export.php dieSchema $pageNumber cross site scripting

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.
5.3$0-$5k0.00

A vulnerability classified as problematic has been found in phpMyAdmin (Database Administration Software). This affects the function dieSchema in the library schema/Export_Relation_Schema.class.php of the file schema_export.php. The manipulation of the argument $pageNumber with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. 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. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.

The weakness was released 07/28/2013 by Noam Rathaus (0x721427D8) with Beyond Security's SecuriTeam Secure Disclosure as PMASA-2013-14 as confirmed advisory (Website). The advisory is shared at phpmyadmin.net. The public release was coordinated with the project team. This vulnerability is uniquely identified as CVE-2013-5002 since 07/29/2013. The exploitability is told to be easy. It is possible to initiate the attack remotely. The successful exploitation needs a authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.

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 12724 (PhpMyAdmin Multiple Vulnerabilities (PMASA-2013-14,PMASA-2013-12,PMASA-2013-11,PMASA-2013-8)).

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 (86120) and Tenable (70753). Entries connected to this vulnerability are available at 9793, 9794, 9795 and 9796.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-79 / 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/05/2013 +5 days 🔍
05/21/2021 +2846 days 🔍

Sourcesinfo

Product: phpmyadmin.net

Advisory: PMASA-2013-14
Researcher: Noam Rathaus (0x721427D8)
Organization: Beyond Security's SecuriTeam Secure Disclosure
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-5002 (🔍)
OVAL: 🔍

X-Force: 86120
Vulnerability Center: 40836 - phpMyAdmin 3.5 Before 3.5.8.1 and 4.0 Before 4.0.4.2 XSS Vulnerability due to a Flawed \x27schema_export.php\x27 Script, Low
SecurityFocus: 61516 - phpMyAdmin CVE-2013-5002 Cross Site Scripting Vulnerability
Secunia: 54295 - phpMyAdmin Multiple Vulnerabilities, Less Critical
OSVDB: 95795

See also: 🔍

Entryinfo

Created: 07/31/2013 11:16
Updated: 05/21/2021 06:56
Changes: 07/31/2013 11:16 (81), 05/07/2017 11:41 (10), 05/21/2021 06:56 (3)
Complete: 🔍
Committer: olku

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!