CVE-2016-6628 phpMyAdmin Reflected File Download attack

Medium 6.3 Published Updated

An attacker can trick users into downloading malicious SVG files in phpMyAdmin, potentially leading to script execution or account compromise.

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-2016-6628?

CVE-2016-6628 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 11 Dec 2016. 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

An issue was discovered in phpMyAdmin. An attacker may be able to trigger a user to download a specially crafted malicious SVG file. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.

Weakness: CWE-254

Which versions are affected by CVE-2016-6628?

6 open source packages ship an affected version, including phpmyadmin/phpmyadmin. It affects 1 product.

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistFrom 4.04.0.10.17
phpmyadmin/phpmyadmin PackagistFrom 4.04.0.10.17
phpmyadmin/phpmyadmin PackagistFrom 4.44.4.15.8
phpmyadmin/phpmyadmin PackagistFrom 4.44.4.15.8
phpmyadmin/phpmyadmin PackagistFrom 4.64.6.4
phpmyadmin/phpmyadmin PackagistFrom 4.64.6.4

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2016-6628?

Upgrade phpmyadmin/phpmyadmin to a fixed version for your release line: 4.0.10.17, 4.4.15.8 or 4.6.4.

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-6628 being exploited?

There is no known exploitation of CVE-2016-6628 in the wild and no public exploit code.

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as ALPINE-CVE-2016-6628, DEBIAN-CVE-2016-6628, GHSA-phhm-63xx-v9rr, UBUNTU-CVE-2016-6628.

Is CVE-2016-6628 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free