GHSA-f4cr-3xmc-2wpm

Suggest an improvement
Source
https://github.com/advisories/GHSA-f4cr-3xmc-2wpm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f4cr-3xmc-2wpm/GHSA-f4cr-3xmc-2wpm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f4cr-3xmc-2wpm
Aliases
Published
2022-05-24T17:12:07Z
Modified
2024-04-24T17:57:28.533884Z
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 vulnerability
Details

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.

Database specific
{
    "nvd_published_at": "2020-03-22T05:15:00Z",
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T17:40:19Z"
}
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