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

What LogPulse has for it

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

  1. Find Adminer files on your web servers: search the web roots for adminer*.php.
  2. Remove copies you do not need.
  3. Replace the rest with Adminer 4.7.9 or later, or a build without the Elasticsearch driver.
  4. 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.

Start free with LogPulse