CVE-2018-8712

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

published March 14, 2018

CVSS
โ€”
EPSS
2%
Percentile
78.2
In the wild
Unconfirmed
What it is

โš ๏ธ A weak default setting is giving users a backstage pass to sensitive files! The 'Can view any file as a log file' option in Webmin versions 1.840 and 1.880 is a recipe for disaster. ๐Ÿ”ฅ Think of it like a restaurant where the staff has access to the backroom without checking IDs โ€” they could snoop around and find the secret recipes! In this case, the 'backroom' is your Unix system files, and limited users can easily peek in. An attacker with limited user access could craft a simple request to read sensitive data, including the '/etc/shadow' file, which contains hashed passwords. This could lead to unauthorized access to user accounts and potentially a total system compromise.

Put simply

Think of it like a restaurant where the staff has access to the backroom without checking IDs โ€” they could snoop around and find the secret recipes! In this case, the 'backroom' is your Unix system files, and limited users can easily peek in. This vulnerability allows local users to exploit weak default configurations in Webmin to access sensitive files through Local File Inclusion (LFI) by manipulating the request to view logs.

What to do

An attacker with limited user access could craft a simple request to read sensitive data, including the '/etc/shadow' file, which contains hashed passwords. This could lead to unauthorized access to user accounts and potentially a total system compromise. To secure your system, change the default setting for 'Can view any file as a log file' to 'No' in Webmin. Additionally, consider updating to the latest Webmin version to patch any other potential vulnerabilities. Always review user permissions to ensure they're appropriate. You've got this! Secure your system and turn those potential vulnerabilities into victories! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01793 ยท 78.2th percentile
Published
2018-03-14T19:00Z
EPSS history
Timeline
  • 14 MAR 19:00Z
    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
    cvelistv5