GHSA-h65r-8fp8-w7cx

Suggest an improvement
Source
https://github.com/advisories/GHSA-h65r-8fp8-w7cx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-h65r-8fp8-w7cx/GHSA-h65r-8fp8-w7cx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-h65r-8fp8-w7cx
Aliases
Published
2022-05-24T17:12:08Z
Modified
2024-04-24T17:56:31.781463Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
phpMyAdmin SQL Injection
Details

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).

Database specific
{
    "nvd_published_at": "2020-03-22T04:15:00Z",
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T17:40:28Z"
}
References

Affected packages

Packagist / phpmyadmin/phpmyadmin

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.9.0
Fixed
4.9.5

Affected versions

4.*

4.9.0
4.9.0.1
4.9.1
4.9.2
4.9.3
4.9.4

Packagist / phpmyadmin/phpmyadmin

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.0.2

Affected versions

5.*

5.0.0
5.0.0.1
5.0.1