CVE-2023-29478

BiblioCraft before 2.4.6 does not sanitize path-traversal characters in filenames, allowing restricted write access to almost anywhere on the filesystem

Critical · published April 7, 2023

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

🔥 A path traversal vulnerability in BiblioCraft up to version 2.4.5 lets attackers slip through the cracks and access nearly any file in your system! Think of it like a child sneaking into the pantry without permission, using a ladder to reach the top shelf and grab whatever tasty treats they desire. In this case, the pantry is your server's filesystem, and the sweets are sensitive files and possible code execution. 🍬 An attacker could exploit this vulnerability to write malicious code directly to the Minecraft mods folder, leading to potentially devastating consequences. Imagine granting unrestricted access to your system, allowing bad actors to execute arbitrary commands that could compromise your entire environment. Yikes!

Put simply

Think of it like a child sneaking into the pantry without permission, using a ladder to reach the top shelf and grab whatever tasty treats they desire. In this case, the pantry is your server's filesystem, and the sweets are sensitive files and possible code execution. 🍬 This flaw in BiblioCraft allows path traversal by failing to sanitize path-traversal characters in filenames. It means that any malicious filename can be used to gain restricted write access to sensitive areas of the filesystem, enabling unauthorized code execution.

What to do

An attacker could exploit this vulnerability to write malicious code directly to the Minecraft mods folder, leading to potentially devastating consequences. Imagine granting unrestricted access to your system, allowing bad actors to execute arbitrary commands that could compromise your entire environment. Yikes! To protect your system, urgently upgrade to BiblioCraft version 2.4.6 or later. Additionally, review your file access permissions and sanitize input to eliminate the risk of path traversal attacks. Security hygiene is key! 🧼 You've got this! With these measures in place, you'll ensure your Minecraft experience is safer and more secure. 🛡️

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.01671 · 76.6th percentile
Published
2023-04-07T00:00Z
EPSS history
Timeline
  • 07 APR 00:00Z
    BiblioCraft before 2.4.6 does not sanitize path-traversal characters in filenames, allowing restricted write access to almost anywhere on the filesystem
    cvelistv5