#VU94793 Insecure library loading in ImageMagick


Published: 2024-07-28

Vulnerability identifier: #VU94793

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-427

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the application loads shared libraries and configuration files in an insecure manner when setting MAGICK_CONFIGURE_PATH and LD_LIBRARY_PATH environment variables while executing. A local user can place a malicious file into the current working directory and trick the victim into executing ImageMagic, resulting in code execution.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.1.1-35, 7.1.1-34, 7.1.1-33, 7.1.1-32, 7.1.1-31, 7.1.1-30, 7.1.1-29, 7.1.1-28, 7.1.1-27, 7.1.1-26, 7.1.1-25, 7.1.1-24, 7.1.1-23, 7.1.1-22, 7.1.0-0 - 7.1.0.43, 7.0.8-0 - 7.0.8-69, 7.0.11-0 - 7.0.11-14, 7.0.10-0 - 7.0.10-62, 7.0.6 - 7.0.6-10, 7.0.7 - 7.0.7.7, 7.0.9 - 7.0.9-27, 7.0.5-0 - 7.0.5-10, 7.6.0-0, 7.0.4-0 - 7.0.4-10, 7.0.3-0 - 7.0.3-10, 7.0.2-0 - 7.0.2-10, 7.0.1-0 - 7.0.1-10, 7.0.0-0


External links
http://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-8rxc-922v-phg8


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability