CVE-2016-2045 Cross-site scripting in n/a
Authenticated users can inject arbitrary web script or HTML via SQL queries in the phpMyAdmin SQL editor, potentially leading to session hijacking or malicious actions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-2045?
CVE-2016-2045 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 20 Feb 2016. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the SQL editor in phpMyAdmin 4.5.x before 4.5.4 allows remote authenticated users to inject arbitrary web script or HTML via a SQL query that triggers JSON data in a response.
Weakness: CWE-79
Which versions are affected by CVE-2016-2045?
It affects 2 products.
Products include Fedoraproject Fedora, Phpmyadmin Phpmyadmin.
How do I fix CVE-2016-2045?
Upgrade to a fixed version.
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-2016-2045 being exploited?
There is no known exploitation of CVE-2016-2045 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2016-2045, GHSA-f8gp-vg7w-rp8x, UBUNTU-CVE-2016-2045.