CVE-2018-8712 Path traversal in n/a

Critical 9.8 Published Updated

Attackers can read sensitive system files like /etc/shadow via path traversal in Webmin's log viewer due to weak default configuration settings.

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

What is CVE-2018-8712?

CVE-2018-8712 is a critical path traversal vulnerability in Webmin Webmin, published on 14 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in Webmin 1.840 and 1.880 when the default Yes setting of "Can view any file as a log file" is enabled. As a result of weak default configuration settings, limited users have full access rights to the underlying Unix system files, allowing the user to read sensitive data from the local system (using Local File Include) such as the '/etc/shadow' file via a "GET /syslog/save_log.cgi?view=1&file=/etc/shadow" request.

Weakness: CWE-22

Which versions are affected by CVE-2018-8712?

It affects 1 product.

Products include Webmin Webmin.

How do I fix CVE-2018-8712?

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

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

Is CVE-2018-8712 being exploited?

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

All Webmin Webmin vulnerabilities

Sources

Also known as GHSA-4pv5-xvgv-46m2.

Is CVE-2018-8712 in your software?

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

Check your SBOMs for free