Root privilege escalation via deterministic password derivation
Published Jul 5, 2023 · Updated Nov 21, 2024
Hard-coded key use in Loxone Miniserver Go Gen.2 before 14.2 allows local users to derive the root password from its MAC address. The miniserverinit setpwd command encrypts the MAC address with AES-256-CBC using a key and initialization vector embedded in the miniserverinit binary, then encodes and slices the result into the password. Low-privileged local access and the device MAC address are sufficient to obtain root privileges and fully control the appliance.
Summary
What happened
Hard-coded key use in Loxone Miniserver Go Gen.2 before 14.2 allows local users to derive the root password from its MAC address. The miniserverinit setpwd command encrypts the MAC address with AES-256-CBC using a key and initialization vector embedded in the miniserverinit binary, then encodes and slices the result into the password. Low-privileged local access and the device MAC address are sufficient to obtain root privileges and fully control the appliance.
The record
- CVE
- CVE-2023-36623
- Published
- Jul 5, 2023
- Updated
- Nov 21, 2024
- Vendor
- Loxone
- Product
- Miniserver Go (Gen 2)
- Classifications
- CWE-321, CWE-798, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 5, 2023CVE publishedPublication date reported by the CVE source.
- Nov 21, 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=0 <14.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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
- SySS calc_root_pw.py proof of conceptproof of concept · 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