GHSA-rmmf-5xhh-gg27 CVE-2016-9853
phpMyAdmin path disclosure
- Severity
- 5.3 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 2.54%
- Chance of exploitation in the next 30 days. Higher than 84.99% 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.5- Upgrade phpmyadmin/phpmyadmin to this version or later
Description
An issue was discovered in phpMyAdmin. By calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed. During an execution timeout in the export functionality, the errors containing the full path of the directory of phpMyAdmin are written to the export file. All 4.6.x versions (prior to 4.6.5), and 4.4.x versions (prior to 4.4.15.9) are affected. This CVE is for the fopen wrapper issue.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| phpmyadmin/phpmyadmin | >= 4.6.0, < 4.6.5 |
4.6.5 |
| phpmyadmin/phpmyadmin | >= 4.4.0, < 4.4.15.9 |
4.4.15.9 |
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.5
- composer
composer require phpmyadmin/phpmyadmin:^4.6.5
Severity breakdown
CVSS 3.0 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- 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