Sensitive-file disclosure via privileged xlock file loading
Published Jan 15, 2020 · Updated Sep 30, 2024
Information disclosure in Oracle Solaris 10 and 11 X Window System allows local users to read parts of sensitive files through xlock. The setuid-root xlock process retains root privileges and follows an attacker-controlled ~/.Xdefaults symlink, causing libX11 to open an arbitrary file and CheckResources() to print matching content. Exploitation requires a local account and a target file containing a specially formatted resource-like line; disclosed data can include a password hash.
Summary
What happened
Information disclosure in Oracle Solaris 10 and 11 X Window System allows local users to read parts of sensitive files through xlock. The setuid-root xlock process retains root privileges and follows an attacker-controlled ~/.Xdefaults symlink, causing libX11 to open an arbitrary file and CheckResources() to print matching content. Exploitation requires a local account and a target file containing a specially formatted resource-like line; disclosed data can include a password hash.
The record
- CVE
- CVE-2020-2656
- Published
- Jan 15, 2020
- Updated
- Sep 30, 2024
- Vendor
- Oracle
- Product
- Oracle Solaris
- Classifications
- T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 15, 2020CVE publishedPublication date reported by the CVE source.
- Sep 30, 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=10
- Affected versionversion=11
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
- Low impact information disclosure via Solaris xlockproof 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