CVE-2021-21311 in adminer
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Adminer is an open-source database management in a single PHP file. In adminer from version 4.0.0 and before 4.7.9 there is a server-side request forgery vulnerability. Users of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected. This is fixed in version 4.7.9.
Affected software: adminer, debian linux
Scores
- CVSS: 7.2 (high)
- EPSS: 98.46% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2025-09-29
- Published: 2021-02-11
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade or remove Adminer (CVE-2021-21311)
Patch or upgrade. Adminer 4.0.0 to before 4.7.9 can be pointed at any host through the Elasticsearch driver (SSRF). Version 4.7.9 fixes it; removing Adminer from public web roots is better still.
Applies to: Adminer 4.0.0 to before 4.7.9, builds that bundle all drivers
- Find Adminer files on your web servers: search the web roots for adminer*.php.
- Remove copies you do not need.
- Replace the rest with Adminer 4.7.9 or later, or a build without the Elasticsearch driver.
- Allow the remaining Adminer pages only from a VPN or admin network.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.