CVE-2021-29625

Adminer is open-source database management software. A cross-site scripting vulnerability in Adminer versions 4.6.1 to 4.8.0 affects users of MySQL, MariaDB, PgSQL and SQLite. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a `pdo_` extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected. The vulnerability is patched in version 4.8.1. As workarounds, one can use a browser supporting strict CSP or enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).
Configurations

Configuration 1 (hide)

cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:01

Type Values Removed Values Added
References () https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 - Patch, Third Party Advisory () https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 - Patch, Third Party Advisory
References () https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc - Patch, Third Party Advisory () https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc - Patch, Third Party Advisory
References () https://sourceforge.net/p/adminer/bugs-and-features/797/ - Exploit, Product, Third Party Advisory () https://sourceforge.net/p/adminer/bugs-and-features/797/ - Exploit, Product, Third Party Advisory
CVSS v2 : 4.3
v3 : 6.1
v2 : 4.3
v3 : 7.5

Information

Published : 2021-05-19 22:15

Updated : 2024-11-21 06:01


NVD link : CVE-2021-29625

Mitre link : CVE-2021-29625

CVE.ORG link : CVE-2021-29625


JSON object : View

Products Affected

adminer

  • adminer
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')