GHSA-x394-g9j8-x7mf

Suggest an improvement
Source
https://github.com/advisories/GHSA-x394-g9j8-x7mf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-x394-g9j8-x7mf/GHSA-x394-g9j8-x7mf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x394-g9j8-x7mf
Aliases
Published
2022-05-13T01:05:22Z
Modified
2024-04-24T17:43:38.520168Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
phpMyAdmin Improper Authentication
Details

An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the "$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code without any authentication).

Database specific
{
    "nvd_published_at": "2018-06-21T20:29:00Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T17:15:56Z"
}
References

Affected packages

Packagist / phpmyadmin/phpmyadmin

Package

Name
phpmyadmin/phpmyadmin
Purl
pkg:composer/phpmyadmin/phpmyadmin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.8
Fixed
4.8.2

Affected versions

4.*

4.8.0
4.8.0.1
4.8.1