CVE-2024-48514

php-heic-to-jpg <= 1.0.5 is vulnerable to code injection (fixed in 1.0.6)

Critical · published October 24, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
62.2
In the wild
Unconfirmed
What it is

🚨 An attacker could easily execute code on your server just by uploading an image! The vulnerability in php-heic-to-jpg <= 1.0.5 is a game-changer, and you need to act fast! 🔥 Think of your server as a restaurant kitchen. If a chef lets any delivery driver drop off boxes without checking them, you might end up with a surprise ingredient in your stew — and not the good kind! In this case, the ‘ingredient’ is malicious code hidden in the filename of HEIC images. This vulnerability allows an attacker to execute arbitrary code on the server, leading to potentially devastating outcomes like data breaches, server takeovers, or unauthorized access to sensitive information. It’s absolutely critical to address this before your server becomes a playground for cybercriminals!

Put simply

Think of your server as a restaurant kitchen. If a chef lets any delivery driver drop off boxes without checking them, you might end up with a surprise ingredient in your stew — and not the good kind! In this case, the ‘ingredient’ is malicious code hidden in the filename of HEIC images. The code injection vulnerability occurs when the php-heic-to-jpg library improperly handles the filenames of uploaded HEIC images. Attackers can exploit this flaw to execute malicious code on the server by crafting a specially named file.

What to do

This vulnerability allows an attacker to execute arbitrary code on the server, leading to potentially devastating outcomes like data breaches, server takeovers, or unauthorized access to sensitive information. It’s absolutely critical to address this before your server becomes a playground for cybercriminals! To protect your system, immediately upgrade php-heic-to-jpg to version 1.0.6 or higher. Additionally, review your image upload controls to ensure that only safe file types are permitted. Regularly audit your server for any unauthorized changes. You've got this! Follow these steps, and you'll restore your server's security in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00989 · 62.2th percentile
Published
2024-10-24T00:00Z
EPSS history
Timeline
  • 24 OCT 00:00Z
    php-heic-to-jpg <= 1.0.5 is vulnerable to code injection (fixed in 1.0.6)
    cvelistv5