File hash equality disclosure via privileged pathname race
Published Oct 19, 2021 · Updated Aug 6, 2024
Race condition in FreeBSD crontab allows local users to compare MD5 hashes of arbitrary unreadable files through a temporary-file race. MD5File hashes a user-controlled pathname with effective UID 0 after inode checks, allowing symlink replacement to redirect two privileged reads. Successful use requires a local account, hard-link and symlink manipulation, and winning two narrow timing windows; it reveals only whether chosen files have equal hashes.
Summary
What happened
Race condition in FreeBSD crontab allows local users to compare MD5 hashes of arbitrary unreadable files through a temporary-file race. MD5File hashes a user-controlled pathname with effective UID 0 after inode checks, allowing symlink replacement to redirect two privileged reads. Successful use requires a local account, hard-link and symlink manipulation, and winning two narrow timing windows; it reveals only whether chosen files have equal hashes.
The record
- CVE
- CVE-2011-1075
- Published
- Oct 19, 2021
- Updated
- Aug 6, 2024
- Vendor
- The FreeBSD Project
- Product
- FreeBSD
- Classifications
- CWE-362
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 19, 2021CVE publishedPublication date reported by the CVE source.
- Aug 6, 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=unknown
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
- FreeBSD crontab MD5 comparison race procedureproof 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