CVE-2023-34152 Command injection in ImageMagick
Attackers can execute arbitrary code via OpenBlob in ImageMagick when pipes are enabled, requiring a patch for secure operation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-34152?
CVE-2023-34152 is a critical command injection vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 30 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability was found in ImageMagick. This security flaw cause a remote code execution vulnerability in OpenBlob with --enable-pipes configured.
Which versions are affected by CVE-2023-34152?
It affects 4 products.
Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Imagemagick Imagemagick, Redhat Enterprise Linux.
How do I fix CVE-2023-34152?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-34152 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34152 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Fedoraproject Extra Packages for Enterprise Linux
- CVE-2022-4170 Code injection in rxvt-unicode
- CVE-2022-40315 Moodle Minor SQL injection risk in admin user browsing
- CVE-2022-45152 Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library
- CVE-2022-24882 Server side NTLM does not properly check parameters in FreeRDP
- CVE-2022-2158 Use after free in Chrome
All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities
Sources
Also known as DEBIAN-CVE-2023-34152, GHSA-47q6-hqqr-mcr3, JLSEC-2026-906, ROOT-OS-DEBIAN-11-CVE-2023-34152, ROOT-OS-DEBIAN-12-CVE-2023-34152, ROOT-OS-DEBIAN-13-CVE-2023-34152 and 1 more.