PoC Monitor
← All CVEs
CVE-2021-21311published 11 Feb 2021 20:55 UTCData: JSON · API

Vrana adminer

SSRF in adminer

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.

First public PoC 1.0 yearsafter publication · 14 Feb 2022
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS7.2high · scored by CNA · CWE-918
CISA KEV 29 Sep 20254.6 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

vrana/adminer (Packagist)
  • < 4.7.9

Fixed in 4.7.9

from GitHub Security Advisory GHSA-x5r2-hj5c-8jx6

Mitigation

Upgrade vrana/adminer to 4.7.9 or later.

Timeline

Days relative to CVE publication
t=0+1 y+2 y+3 y+4 yCVE published11 Feb 2021 · t = 0First public PoC14 Feb 2022 · t+1.0yAdded to CISA KEV29 Sep 2025 · t+4.6y

First public PoC 1.0 years after publication; added to CISA KEV 4.6 years after publication. First PoC: llhala/CVE-2021-21311 (created 14 Feb 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 2 informational

PoCs 2
RepositoryCreatedStarsAssessment
llhala/CVE-2021-21311 14 Feb 2022 +1.0 y 8 PoC via PoC Index
omoknooni/CVE-2021-21311 12 Jun 2023 +2.3 y 3 PoC
Informational 2
RepositoryCreatedStarsAssessment
tung6192/llm-security-hackathon 10 Jun 2024 +3.3 y 0 Informational · list
Sudo-WP/sudowp-adminer 24 Jan 2026 +4.9 y 1 Informational · detection
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Adminer <4.7.9 - Server-Side Request Forgeryunknown14 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /{var}

Body markers
auth[driver]= auth[server]= auth[username]= auth[password]= auth[db]= auth[permanent]= in application/x-www-form-urlencoded
Ports
8080
Seen in
1 repo: llhala/CVE-2021-21311
Evidence
llhala/CVE-2021-21311/CVE-2021-21311.py:29

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /{var}
(?i)^/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /{var}
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2021-21311 vrana adminer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"auth[driver]="; http.request_body; content:"auth[server]="; http.request_body; content:"auth[username]="; http.request_body; content:"auth[password]="; http.request_body; content:"auth[db]="; http.request_body; content:"auth[permanent]="; reference:url,poc.griffinguard.io/cve/CVE-2021-21311; classtype:web-application-attack; sid:9837308; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /{var}
title: vrana adminer exploit attempt (CVE-2021-21311)
id: gg-pocmon-cve-2021-21311-9837308
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-21311. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-21311
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.21311