Authenticated root command execution via foreign-module ACL bypass
Published Mar 2, 2022 · Updated Aug 2, 2024
Improper access control in Webmin before 1.990 allows remote authenticated users to execute commands with root privileges through File Manager. The Authentic theme invokes File Manager operations as a foreign module, while init_config skips module authorization unless FOREIGN_MODULE_SEC_CHECK is set. An untrusted Webmin account with File Manager access and no module restrictions can read root-owned files and reach command execution; Virtualmin domain owners are not affected.
Summary
What happened
Improper access control in Webmin before 1.990 allows remote authenticated users to execute commands with root privileges through File Manager. The Authentic theme invokes File Manager operations as a foreign module, while init_config skips module authorization unless FOREIGN_MODULE_SEC_CHECK is set. An untrusted Webmin account with File Manager access and no module restrictions can read root-owned files and reach command execution; Virtualmin domain owners are not affected.
The record
- CVE
- CVE-2022-0824
- Published
- Mar 2, 2022
- Updated
- Aug 2, 2024
- Vendor
- Webmin
- Product
- Webmin
- Classifications
- CWE-284, CWE-863, T1068
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 2, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <1.990
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Webmin 1.984 Remote Code Executionfunctional · demonstrated
- Webmin 1.984 File Manager Remote Code Executionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo