CVE-2021-43008 Files or Directories Accessible to External Parties in Adminer

High 7.5 Published Updated

An attacker can read arbitrary files on the remote server by exploiting improper access control in Adminer's remote database connection feature.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-43008?

CVE-2021-43008 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 5 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Access Control in Adminer versions 1.12.0 to 4.6.2 (fixed in version 4.6.3) allows an attacker to achieve Arbitrary File Read on the remote server by requesting the Adminer to connect to a remote MySQL database.

Which versions are affected by CVE-2021-43008?

2 open source packages ship an affected version, including vrana/adminer. It affects 2 products.

PackageAffectedFixed in
vrana/adminer PackagistFrom 1.12.04.6.3
vrana/adminer PackagistFrom 1.12.04.6.3

Products include Adminer Adminer, Debian Debian Linux.

How do I fix CVE-2021-43008?

Upgrade vrana/adminer to 4.6.3 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2021-43008 being exploited?

There is no known exploitation of CVE-2021-43008 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-43008, DLA-3002-1, GHSA-rxfq-3vpc-vv72, UBUNTU-CVE-2021-43008.

Is CVE-2021-43008 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free