CVE-2020-12620 Command injection in n/a

High 7.8 Published Updated

An attacker with write access to the DNS configuration file can inject shell commands to execute arbitrary code and escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-12620?

CVE-2020-12620 is a high-severity command injection vulnerability in n/a, published on 30 Jul 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Pi-hole 4.4 allows a user able to write to /etc/pihole/dns-servers.conf to escalate privileges through command injection (shell metacharacters after an IP address).

Weakness: CWE-78

Which versions are affected by CVE-2020-12620?

It affects 1 product.

Products include Pi-Hole Pi-Hole.

How do I fix CVE-2020-12620?

No fix has been published for CVE-2020-12620 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2020-12620 being exploited?

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

Sources

Also known as GHSA-6m9c-h626-jp3r.

Is CVE-2020-12620 in your software?

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

Check your SBOMs for free