CVE-2021-21311 in Adminer and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2025-09-29 |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-21311 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-246233-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| Published | 2021-02-11 |
| Last modified | 2025-10-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-21311 affects Adminer, an open-source database management tool, with a server-side request forgery (SSRF) vulnerability in versions 4.0.0 to 4.7.8. The vulnerability allows attackers to perform SSRF attacks, potentially leading to unauthorized access to internal systems. The CVSS score is 7.2, indicating a high severity. A public proof of concept exists, and the vulnerability is listed in the KEV catalog. Immediate action is recommended to mitigate the risk.
The SSRF vulnerability in Adminer allows an attacker to send crafted requests from the web application to other servers, potentially bypassing network restrictions and gaining access to internal resources. This can lead to data exfiltration, unauthorized access, and further exploitation of internal systems.
Compensating controls AI-drafted, review before use
Implement strict outbound firewall rules to prevent the web application from making unauthorized requests to internal or external systems. Use a web application firewall (WAF) to monitor and block suspicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-21311?
CVE-2021-21311 affects Adminer, an open-source database management tool, with a server-side request forgery (SSRF) vulnerability in versions 4.0.0 to 4.7.8. The vulnerability allows attackers to perform SSRF attacks, potentially leading to unauthorized access to internal systems. The CVSS score is 7.2, indicating a high severity. A public proof of concept exists, and the vulnerability is listed in the KEV catalog. Immediate action is recommended to mitigate the risk.
What is the CVSS score for CVE-2021-21311?
CVE-2021-21311 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N. EPSS: 98.5%.
Is CVE-2021-21311 actively exploited?
Yes. CVE-2021-21311 is in the CISA known-exploited catalog (added 2025-09-29). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-21311?
Priority: IMMEDIATE.
What systems are affected by CVE-2021-21311?
CVE-2021-21311 affects Adminer Adminer; Debian Debian Linux.
What NERC-CIP standard applies to CVE-2021-21311?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to electronic security perimeters, which could compromise the integrity and availability of critical assets.
What IEC 62443 requirement maps to CVE-2021-21311?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves a vulnerability that could allow unauthorized access to internal systems, violating the requirement for secure communication and preventing unauthorized data access.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Adminer","product":"Adminer","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-10-24.