Arbitrary file read via MySQL import request
Published Apr 5, 2022 · Updated Aug 4, 2024
Improper access control in Adminer 1.12.0 through 4.6.2 allows remote attackers to read arbitrary server files via a remote MySQL server. After Adminer connects to an attacker-controlled database, the server issues a MySQL local-file import request and Adminer returns the named file. Exploitation requires a reachable Adminer endpoint and permission for its PHP process to read the requested file; the direct impact is disclosure of readable files.
Summary
What happened
Improper access control in Adminer 1.12.0 through 4.6.2 allows remote attackers to read arbitrary server files via a remote MySQL server. After Adminer connects to an attacker-controlled database, the server issues a MySQL local-file import request and Adminer returns the named file. Exploitation requires a reachable Adminer endpoint and permission for its PHP process to read the requested file; the direct impact is disclosure of readable files.
The record
- CVE
- CVE-2021-43008
- Published
- Apr 5, 2022
- Updated
- Aug 4, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-552, T1005, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 5, 2022CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Sansec Adminer file-disclosure demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo