CVE-2021-29625 XSS in doc_link
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPMySQLMariaDBUbuntu
Description
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).
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Adminer | >= 4.6.1, < 4.8.1 | 4.8.1 | Fixed |
| debian/adminer(Debian 12) | < 4.7.9-2 | 4.7.9-2 | Fixed |
| debian/adminer(Debian 13) | < 4.7.9-2 | 4.7.9-2 | Fixed |
| debian/adminer(Debian 14) | < 4.7.9-2 | 4.7.9-2 | Fixed |
| ubuntu/adminer(Ubuntu Pro 18.04) | < 4.6.2-1ubuntu0.1~esm1; = 4.3.1-2; = 4.5.0-1; = 4.6.1-1 +1 more | 4.6.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/adminer(Ubuntu Pro 20.04) | < 4.7.6-1ubuntu0.1~esm1; = 4.7.2-1; = 4.7.4-1; = 4.7.5-1 +1 more | 4.7.6-1ubuntu0.1~esm1 | Fixed |
| vrana/adminer(Packagist) | = v4.7.8; = v4.7.9; = v4.8.0; >= 4.7.8, < 4.8.1 | 4.8.1 | Fixed |
| vrana/adminer | = >= 4.7.8, < 4.8.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vrana/adminer(Packagist) | >= 4.7.8, < 4.8.1 | 4.8.1 |
| vrana/adminer(Packagist) | = v4.7.8 | No fix listed |
| vrana/adminer(Packagist) | = v4.7.9 | No fix listed |
| vrana/adminer(Packagist) | = v4.8.0 | No fix listed |
| debian/adminer(Debian:12) | < 4.7.9-2 | 4.7.9-2 |
| debian/adminer(Debian:14) | < 4.7.9-2 | 4.7.9-2 |
| debian/adminer(Debian:13) | < 4.7.9-2 | 4.7.9-2 |
| Adminer | >= 4.6.1, < 4.8.1 | 4.8.1 |
| vrana/adminer | = >= 4.7.8, < 4.8.1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:18.04) | < 4.6.2-1ubuntu0.1~esm1 | 4.6.2-1ubuntu0.1~esm1 |
| ubuntu/adminer(Ubuntu:Pro:18.04) | = 4.3.1-2 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:18.04) | = 4.5.0-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:18.04) | = 4.6.1-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:18.04) | = 4.6.2-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:20.04) | < 4.7.6-1ubuntu0.1~esm1 | 4.7.6-1ubuntu0.1~esm1 |
| ubuntu/adminer(Ubuntu:Pro:20.04) | = 4.7.2-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:20.04) | = 4.7.4-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:20.04) | = 4.7.5-1 | No fix listed |
| ubuntu/adminer(Ubuntu:Pro:20.04) | = 4.7.6-1 | No fix listed |
References
- github.com issue-tracking patch third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- packagist.org
- sourceforge.net exploit issue-tracking product third-party-advisory
- Debian Security Tracker CVE-2021-29625 vendor-advisory
- bugs.debian.org issue-tracking
- github.com
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking