Local code execution via empty AppImage search paths
Published Jul 29, 2024 · Updated Aug 2, 2024
Uncontrolled search paths in ImageMagick AppImage 7.1.1-35 and earlier allow local users to execute code through working-directory files. The AppRun script appends empty elements to MAGICK_CONFIGURE_PATH and LD_LIBRARY_PATH, causing configuration or shared-library lookup in the current directory. Exploitation requires control of a file in that directory when the AppImage runs, and successful loading executes code in that process's security context.
Summary
What happened
Uncontrolled search paths in ImageMagick AppImage 7.1.1-35 and earlier allow local users to execute code through working-directory files. The AppRun script appends empty elements to MAGICK_CONFIGURE_PATH and LD_LIBRARY_PATH, causing configuration or shared-library lookup in the current directory. Exploitation requires control of a file in that directory when the AppImage runs, and successful loading executes code in that process's security context.
The record
- CVE
- CVE-2024-41817
- Published
- Jul 29, 2024
- Updated
- Aug 2, 2024
- Vendor
- ImageMagick Studio LLC
- Product
- ImageMagick
- Classifications
- CWE-427, T1574.006
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 29, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 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=< 7.11-36
- Affected versionversion=7.11 <=7.36
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
- AppImage environment search-path proof of conceptproof 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