CVE-2019-12840 Command injection in n/a

High 8.8 Published Updated

Authenticated users with Package Updates access can execute arbitrary commands as root via the update.cgi data parameter.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-12840?

CVE-2019-12840 is a high-severity command injection vulnerability in Webmin Webmin, published on 15 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root privileges via the data parameter to update.cgi.

Weakness: CWE-78

Which versions are affected by CVE-2019-12840?

It affects 1 product.

Products include Webmin Webmin.

How do I fix CVE-2019-12840?

No fix has been published for CVE-2019-12840 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-2019-12840 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-12840 exists.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 7 proofs of concept on GitHub.

All Webmin Webmin vulnerabilities

Sources

Also known as GHSA-gcq8-ggwj-2xvv.

Is CVE-2019-12840 in your software?

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

Check your SBOMs for free