Root escalation via default LXD group membership
Published Jun 22, 2020 · Updated Aug 4, 2024
Privilege escalation in Google guest-oslogin before 20200507 allows local users with OS Login access to gain root via LXD membership. The google_oslogin_control script adds every SSH OS Login user to a default group list containing lxd, granting access to LXD device and mount controls. Exploitation requires OS Login to be enabled and the roles/compute.osLogin permission; an LXC container can then attach the host filesystem and rewrite /etc/sudoers.
Summary
What happened
Privilege escalation in Google guest-oslogin before 20200507 allows local users with OS Login access to gain root via LXD membership. The google_oslogin_control script adds every SSH OS Login user to a default group list containing lxd, granting access to LXD device and mount controls. Exploitation requires OS Login to be enabled and the roles/compute.osLogin permission; an LXC container can then attach the host filesystem and rewrite /etc/sudoers.
The record
- CVE
- CVE-2020-8933
- Published
- Jun 22, 2020
- Updated
- Aug 4, 2024
- Vendor
- Product
- OS Login Guest Environment
- Classifications
- CWE-276, T1548.003, T1611
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 22, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 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=20190304 <20200507
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
- OS Login privilege-escalation technical noteproof of concept · unverified
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