{"id":"CVE-2021-21311","aliases":["CVE-2021-21311","GHSA-x5r2-hj5c-8jx6"],"related":[],"kind":"vulnerability","state":"published","title":"SSRF in adminer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"### Impact\nUsers of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected.\n\n### Patches\nPatched by ccd2374b, included in version [4.7.9](https://github.com/vrana/adminer/releases/tag/v4.7.9).\n\n### Workarounds\n* Use a single driver version (e.g. `adminer-mysql.php`).\n* Protect access to Adminer also by other means, e.g. by HTTP password, IP address limiting or by OTP [plugin](https://www.adminer.org/plugins/).\n\n### References\nhttps://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at ccd2374b.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Adminer es una administración de base de datos de código abierto en un solo archivo PHP.&#xa0;En el administrador de la versión 4.0.0 y antes de la 4.7.9, se presenta una vulnerabilidad de tipo server-side request forgery.&#xa0;Los usuarios de las versiones Adminer que incluyen todos los controladores (por ejemplo, \"adminer.php\") están afectados.&#xa0;Esto es corregido en la versión 4.7.9","source":"nvd"},{"lang":"en","text":"Adminer contains a server-side request forgery vulnerability that, when exploited, allows a remote attacker to obtain potentially sensitive information.","source":"kev"}],"published":"2021-02-11T20:42:59.000Z","modified":"2026-09-10T03:49:14.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","score":7.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":">= 4.0.0, < 4.7.9","status":"affected"}],"vendor":"vrana","product":"adminer","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.7.9"}],"ecosystem":"Packagist","package":"vrana/adminer","purl":"pkg:composer/vrana/adminer","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.7.9"}],"vendor":"adminer","product":"adminer","cpe":"cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Adminer","product":"Adminer","source":"kev"}],"references":[{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6","tags":["kev","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","kev"]},{"url":"https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://packagist.org/packages/vrana/adminer","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311","tags":["government-resource","us-government-resource","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21311","tags":["advisory","kev"],"sources":["ghsa","kev"]},{"url":"https://github.com/vrana/adminer","tags":["package"],"sources":["ghsa"]},{"url":"https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","kev":{"dateAdded":"2025-09-29","dueDate":"2025-10-20","name":"Adminer Server-Side Request Forgery Vulnerability","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","ransomware":false,"notes":"https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6 ; https://nvd.nist.gov/vuln/detail/CVE-2021-21311"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"partial","date":"2025-09-27T03:55:28.265Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21311","url":"https://www.cve.org/CVERecord?id=CVE-2021-21311","licence":"CVE Terms of Use","modified":"2025-10-21T23:35:27.923Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x5r2-hj5c-8jx6","url":"https://github.com/advisories/GHSA-x5r2-hj5c-8jx6","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:14.190Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21311","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21311","licence":"Public domain","modified":"2026-06-17T03:35:16.213Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2021-21311","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-21311","licence":"CC0-1.0","modified":"2025-09-29T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:57:59.927Z","epss":{"score":0.98464,"percentile":0.99918,"date":"2026-12-01T12:00:22.000Z"}}