CVE-2010-2958 phpMyAdmin Cross-site Scripting vulnerability
Remote attackers can inject arbitrary web script or HTML via PHP backtrace error messages in phpMyAdmin, requiring user interaction to execute.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2010-2958?
CVE-2010-2958 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 8 Sep 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in libraries/Error.class.php in phpMyAdmin 3.x before 3.3.6 allows remote attackers to inject arbitrary web script or HTML via vectors related to a PHP backtrace and error messages (aka debugging messages), a different vulnerability than CVE-2010-3056.
Weakness: CWE-79
Which versions are affected by CVE-2010-2958?
2 open source packages ship an affected version, including phpmyadmin/phpmyadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
phpmyadmin/phpmyadmin Packagist | From 3.0.0 | 3.3.6 |
phpmyadmin/phpmyadmin Packagist | From 3.0.0 | 3.3.6 |
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2010-2958?
Upgrade phpmyadmin/phpmyadmin to 3.3.6 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2010-2958 being exploited?
There is no known exploitation of CVE-2010-2958 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2010-2958, GHSA-frv8-xjcp-hrm2.