CVE-2023-24720

An arbitrary file upload vulnerability in readium-js v0.32.0 allows attackers to execute arbitrary code via uploading a crafted EPUB file

Critical · published April 5, 2023

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

🚨 An arbitrary file upload vulnerability in readium-js v0.32.0 lets attackers slip in crafted EPUB files like a sneaky package with a surprise inside! 🔥 Think of it as inviting someone over for a harmless coffee chat, but they bring along a hidden agenda in the form of a 'special recipe' that, once opened, wreaks havoc in your kitchen! An attacker could upload a malicious EPUB file, leading to arbitrary code execution on the server. This means they could potentially gain control of the entire system, access sensitive data, or even take down services – absolutely devastating!

Put simply

Think of it as inviting someone over for a harmless coffee chat, but they bring along a hidden agenda in the form of a 'special recipe' that, once opened, wreaks havoc in your kitchen! This vulnerability allows attackers to exploit a flaw in the file upload process, enabling them to execute arbitrary code by tricking the application into handling a malicious EPUB file.

What to do

An attacker could upload a malicious EPUB file, leading to arbitrary code execution on the server. This means they could potentially gain control of the entire system, access sensitive data, or even take down services – absolutely devastating! Update readium-js to the latest version immediately to patch this vulnerability. Additionally, thoroughly validate and sanitize all uploaded files to ensure they conform to expected formats. Incorporate file type checks and limits to prevent file upload abuse! You've got this! Tackle this vulnerability head-on, and you'll keep your systems safe and sound. 🛡️

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.01093 · 65.2th percentile
Published
2023-04-05T00:00Z
EPSS history
Timeline
  • 05 APR 00:00Z
    An arbitrary file upload vulnerability in readium-js v0.32.0 allows attackers to execute arbitrary code via uploading a crafted EPUB file
    cvelistv5