Skip to content
OpenAdvisories
High · 7.5 Scanner template CVE-2021-29625 EUVD-2022-1276GHSA-2v82-5746-vwqc

XSS in doc_link

Published May 19, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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`).

Affected products

VendorProductAffectedFixed
vrana adminer >= 4.7.8, < 4.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 adminer 4.7.9-2 —
Debian 13 adminer 4.7.9-2 —
Debian 12 adminer 4.7.9-2 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS adminer 4.7.6-1ubuntu0.1~esm1 USN-5271-1
Ubuntu Pro 18.04 LTS adminer 4.6.2-1ubuntu0.1~esm1 USN-5271-1
Ubuntu Pro 16.04 LTS adminer 4.2.1-1ubuntu1+esm1 USN-5271-1

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist vrana/adminer >= 4.7.8, < 4.8.1 4.8.1 GHSA-2v82-5746-vwqc

Advisories 1

References