GHSA-6j2v-g9rg-qcm5 CVE-2016-6613
phpMyAdmin Local file exposure through symlinks with UploadDir
- Severity
- 5.3 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 1.51%
- Chance of exploitation in the next 30 days. Higher than 74.47% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Fix
4.6.4- Upgrade phpmyadmin/phpmyadmin to this version or later
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.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| phpmyadmin/phpmyadmin | >= 4.6, < 4.6.4 |
4.6.4 |
| phpmyadmin/phpmyadmin | >= 4.4, < 4.4.15.8 |
4.4.15.8 |
| phpmyadmin/phpmyadmin | >= 4.0, < 4.0.10.17 |
4.0.10.17 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
phpmyadmin/phpmyadmin Packagist → 4.6.4
- composer
composer require phpmyadmin/phpmyadmin:^4.6.4
Severity breakdown
CVSS 3.0 5.3
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Weakness
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How to prevent it
- Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-222v-cx2c-q2f5 phpMyAdmin XSS when checking tables | Medium | Also affects phpmyadmin/phpmyadmin |
| GHSA-6hr3-44gx-g6wh Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin | Medium | Also affects phpmyadmin/phpmyadmin |
| GHSA-prcg-mc23-hgjh phpmyadmin contains SQL Injection vulnerability | Critical | Also affects phpmyadmin/phpmyadmin |
| GHSA-4c9q-64gq-xhx4 phpMyAdmin Cross-Site Request Forgery (CSRF) | Medium | Also affects phpmyadmin/phpmyadmin |
| GHSA-7ff4-cv53-4cjq phpMyAdmin SQL injection vulnerability | Critical | Also affects phpmyadmin/phpmyadmin |
| GHSA-6349-53vr-7hcr phpMyAdmin Cross-site Scripting (XSS) | Medium | Also affects phpmyadmin/phpmyadmin |
| GHSA-h65r-8fp8-w7cx phpMyAdmin SQL Injection | High | Also affects phpmyadmin/phpmyadmin |
| GHSA-fcww-8wvc-38q9 phpMyAdmin SQL injection vulnerability | Medium | Also affects phpmyadmin/phpmyadmin |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor