GHSA-rh74-5835-jpxp CVE-2016-5701
phpMyAdmin vulnerable to Cross-site Scripting
- Severity
- 6.1 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 1.54%
- Chance of exploitation in the next 30 days. Higher than 74.95% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- Fix
4.0.10.16- Upgrade phpmyadmin/phpmyadmin to this version or later
Description
setup/frames/index.inc.php in phpMyAdmin 4.0.10.x before 4.0.10.16, 4.4.15.x before 4.4.15.7, and 4.6.x before 4.6.3 allows remote attackers to conduct BBCode injection attacks against HTTP sessions via a crafted URI.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| phpmyadmin/phpmyadmin | >= 4.0.10.0, < 4.0.10.16 |
4.0.10.16 |
| phpmyadmin/phpmyadmin | >= 4.4.15.0, < 4.4.15.7 |
4.4.15.7 |
| phpmyadmin/phpmyadmin | >= 4.6.0, < 4.6.3 |
4.6.3 |
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.0.10.16
- composer
composer require phpmyadmin/phpmyadmin:^4.0.10.16
Severity breakdown
CVSS 3.0 6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Weakness
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
How to prevent it
- Requirements: Programming languages and supporting technologies might be chosen which are not subject to these issues.
- Implementation: Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.
References
Advisories
Packages
Other links
- github.com/phpmyadmin/phpmyadmin/commit/1dca386505f396f0c2035112a403cc80768a141f
- github.com/phpmyadmin/phpmyadmin/commit/5633b1d57b23ddaa5a9a976a323c90c18d9be03d
- github.com/phpmyadmin/phpmyadmin/commit/bf7379771f4b32e01f4af3b36f8ec6900288688e
- security.gentoo.org/glsa/201701-32
- web.archive.org/web/20200227223408/http://www.securityfocus.com/bid/91383
- phpmyadmin.net/security/PMASA-2016-17
- lists.opensuse.org/opensuse-updates/2016-06/msg00113.html
- lists.opensuse.org/opensuse-updates/2016-06/msg00114.html
- debian.org/security/2016/dsa-3627
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