Local code execution via double PLY line advance
Published Sep 18, 2024 · Updated Sep 18, 2024
Heap-based buffer overflow in Assimp before 5.4.3 allows local users to execute arbitrary code by importing a crafted PLY file. While skipping unknown PLY header elements, ParseHeader discards one getNextLine result and advances the IOStreamBuffer again, permitting an out-of-bounds heap read. An attacker must be able to invoke local model import with the malformed file; successful exploitation runs code in the importing process.
Summary
What happened
Heap-based buffer overflow in Assimp before 5.4.3 allows local users to execute arbitrary code by importing a crafted PLY file. While skipping unknown PLY header elements, ParseHeader discards one getNextLine result and advances the IOStreamBuffer again, permitting an out-of-bounds heap read. An attacker must be able to invoke local model import with the malformed file; successful exploitation runs code in the importing process.
The record
- CVE
- CVE-2024-45679
- Published
- Sep 18, 2024
- Updated
- Sep 18, 2024
- Vendor
- Open Asset Import Library
- Product
- Assimp
- Classifications
- CWE-122, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 18, 2024CVE publishedPublication date reported by the CVE source.
- Sep 18, 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 <5.4.3
- Affected versionversion=prior to 5.4.3
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.
Public exploit references
- Invalid PLY heap-overflow regression inputproof 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