Wiz Agents & Workflows are here

CVE-2021-43008
PHP vulnerability analysis and mitigation

Overview

Adminer versions 1.12.0 to 4.6.2 contained an Improper Access Control vulnerability (CVE-2021-43008) that allowed attackers to perform arbitrary file reads on remote servers. The vulnerability was discovered in 2021 and was fixed in version 4.6.3, released in June 2018. The vulnerability affects all installations of Adminer, a popular web-based database management tool written in PHP (NVD, Debian LTS).

Technical details

The vulnerability allows an attacker to achieve Arbitrary File Read on the remote server by requesting Adminer to connect to a malicious MySQL database. The CVSS v3.1 base score is 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The exploitation involves a three-stage process where an attacker uses a modified MySQL server to send data import requests to connecting clients, locates an exposed adminer.php file, and instructs Adminer to connect to the rigged MySQL server (Sansec Research).

Impact

When successfully exploited, the vulnerability allows attackers to read sensitive files from the server, including configuration files containing database credentials. This access could lead to unauthorized database access and potential exposure of sensitive data. The vulnerability has been observed being used by different Magecart factions to inject payment skimmers on several high-profile stores, including government and multinational organizations (Sansec Research).

Mitigation and workarounds

The vulnerability was fixed in Adminer version 4.6.3 and later versions. Organizations are recommended to upgrade to the latest version of Adminer. Additional security measures include protecting database tools with additional password authentication, implementing IP filtering, and ensuring Adminer installations are not publicly accessible. When not in use, it's recommended to remove Adminer from the server (Adminer, Sansec Research).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-wprj-9cvc-5w37HIGH7.5
  • PHPPHP
  • wwbn/avideo
NoNoMar 29, 2026
CVE-2026-34036MEDIUM6.5
  • PHPPHP
  • dolibarr/dolibarr
NoNoMar 31, 2026
CVE-2026-33887MEDIUM5.4
  • PHPPHP
  • statamic/cms
NoYesMar 27, 2026
CVE-2026-27599MEDIUM4.7
  • PHPPHP
  • ci4-cms-erp/ci4ms
NoYesMar 30, 2026
CVE-2026-34372MEDIUMN/A
  • PHPPHP
  • sulu/sulu
NoYesMar 30, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management