CVE-2018-8712: Path Traversal

Published Mar 14, 2018
·
Updated

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/savelog.cgi?view=1&file=/etc/shadow" request.

Affected Software

2 affected components
webmin webmin=1.840
webmin webmin=1.880

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In Webmin versions 1.840 and 1.880, disable the weak default setting “Can view any file as a log file” (i.e., change the default Yes to No) to prevent limited users from reading underlying Unix system files such as /etc/shadow via requests like GET /syslog/save_log.cgi?view=1&file=/etc/shadow.

    Webmin Can view any file as a log file = Disable (set to No)

Event History

Mar 14, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-8712?

CVE-2018-8712 is a vulnerability in Webmin versions 1.840 and 1.880 that allows limited users to have full access to underlying Unix system files.

2

How severe is CVE-2018-8712?

CVE-2018-8712 has a severity rating of 9.8, which is classified as critical.

3

Which software versions are affected by CVE-2018-8712?

Webmin versions 1.840 and 1.880 are affected by CVE-2018-8712.

4

What is the Common Weakness Enumeration (CWE) for CVE-2018-8712?

The Common Weakness Enumeration (CWE) for CVE-2018-8712 is CWE-22.

5

Is there a fix available for CVE-2018-8712?

Yes, it is recommended to update to a fixed version of Webmin to address the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203