phpMyAdmin Local file exposure through symlinks with UploadDir
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.6 before 4.6.4Ecosystem versions | 4.6.4 |
| From 4.4 before 4.4.15.8Ecosystem versions | 4.4.15.8 |
| From 4.0 before 4.0.10.17Ecosystem versions | 4.0.10.17 |
Version evidence: OSV · GHSA-6j2v-g9rg-qcm5
View original version evidence (22 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2016-6613
- Source reference github.com/phpmyadmin/composer
- Source reference lists.debian.org/debian-lts-announce/2019/06/msg00009.html
- Source reference security.gentoo.org/glsa/201701-32
- Security advisory www.phpmyadmin.net/security/PMASA-2016-36
- Source reference www.securityfocus.com/bid/94115