CVE-2012-2982 Command injection in n/a

Medium 6.5 Published Updated

Authenticated attackers can execute arbitrary commands on Webmin servers by injecting pipe characters into file paths.

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-2012-2982?

CVE-2012-2982 is a medium-severity command injection vulnerability in n/a, published on 11 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid character in a pathname, as demonstrated by a | (pipe) character.

Which versions are affected by CVE-2012-2982?

It affects 1 product.

Products include Gentoo Webmin.

How do I fix CVE-2012-2982?

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

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

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

Sources

Also known as GHSA-vpgr-2w9j-94m5.

Is CVE-2012-2982 in your software?

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

Check your SBOMs for free