CVE-2021-43008: Files or Directories Accessible to External Parties in Adminer
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9925%
CWE
Published
4/6/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
vrana/adminer | composer | >= 1.12.0, < 4.6.3 | 4.6.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from Adminer's MySQL driver allowing LOAD DATA LOCAL INFILE commands when connecting to a remote database. The patch in 4.6.3 explicitly disables this feature. The MySQL::connect function (or equivalent connection handler in the MySQL driver) would be responsible for setting connection parameters, including options that control LOCAL INFILE handling. The lack of restrictions on this command in vulnerable versions allowed attackers to exfiltrate files via a rigged MySQL server.