Local code execution via BSON buffer under-allocation
Published Feb 8, 2020 · Updated Sep 17, 2024
Integer overflow in bson_ensure_space in affected Canonical Whoopsie versions allows local users to execute code via crafted crash reports. The function adds the BSON offset to a signed byte count; overflow makes the sum negative, so it reports success without growing the buffer and later writes beyond the heap allocation. Exploitation requires local access to place a report in /var/crash and a separate ASLR-disclosure flaw; successful chaining runs code as the whoopsie user and permits reading crash reports.
Summary
What happened
Integer overflow in bson_ensure_space in affected Canonical Whoopsie versions allows local users to execute code via crafted crash reports. The function adds the BSON offset to a signed byte count; overflow makes the sum negative, so it reports success without growing the buffer and later writes beyond the heap allocation. Exploitation requires local access to place a report in /var/crash and a separate ASLR-disclosure flaw; successful chaining runs code as the whoopsie user and permits reading crash reports.
The record
- CVE
- CVE-2019-11484
- Published
- Feb 8, 2020
- Updated
- Sep 17, 2024
- Vendor
- Canonical
- Product
- Whoopsie
- Classifications
- CWE-190, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 8, 2020CVE publishedPublication date reported by the CVE source.
- Sep 17, 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.2.52.5 <0.2.52.5ubuntu0.2
- Affected versionversion=0.2.62 <0.2.62ubuntu0.2
- Affected versionversion=0.2.66 <0.2.66ubuntu0.1
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
- Whoopsie local code-execution exploitfunctional · 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