CVE-2016-6613 phpMyAdmin Local file exposure through symlinks with UploadDir

Medium 5.3 Published Updated

An attacker can use crafted symlinks to expose files readable by phpMyAdmin but not by the user, leading to information disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-6613?

CVE-2016-6613 is a medium-severity path traversal vulnerability in Phpmyadmin Phpmyadmin, published on 11 Dec 2016. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in phpMyAdmin. A user can specially craft a symlink on disk, to a file which phpMyAdmin is permitted to read but the user is not, which phpMyAdmin will then expose to the user. 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-200

Which versions are affected by CVE-2016-6613?

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-6613?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2016-6613 being exploited?

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

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as ALPINE-CVE-2016-6613, DEBIAN-CVE-2016-6613, GHSA-6j2v-g9rg-qcm5, UBUNTU-CVE-2016-6613.

Is CVE-2016-6613 in your software?

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

Check your SBOMs for free