CVE-2024-48914CWE-20CWE-22

Vendure asset server plugin has local file read vulnerability with AssetServerPlugin & LocalAssetStorageStrategy

Critical · published October 15, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 9.1. It sits in the 99.1th percentile for exploit probability.

CVSS v3.1
9.1
EPSS
60%
Percentile
99.1
In the wild
Unconfirmed
What it is

🔥 A crafty request can unleash a world of secrets! Before versions 3.0.5 and 2.3.3, Vendure's asset server plugin allows attackers to traverse the file system, exposing sensitive data like configuration files and environment variables. ⚠️ Think of it like a sneaky delivery driver following poorly marked signs to access back rooms in a restaurant — they can find all the hidden recipes (or sensitive data) that should stay behind closed doors! This vulnerability could lead to a data breach, where attackers gain access to critical files and configurations, potentially compromising your entire server's integrity. They could even crash the server with a malformed URI, making your site unavailable to users — a devastating scenario for any online business!

Put simply

Think of it like a sneaky delivery driver following poorly marked signs to access back rooms in a restaurant — they can find all the hidden recipes (or sensitive data) that should stay behind closed doors! This flaw allows an attacker to craft a request that can reach arbitrary files on the server due to insufficient validation in Vendure's asset server plugin. It poses a critical risk, allowing unauthorized access to sensitive information.

What to do

This vulnerability could lead to a data breach, where attackers gain access to critical files and configurations, potentially compromising your entire server's integrity. They could even crash the server with a malformed URI, making your site unavailable to users — a devastating scenario for any online business! Immediately update to Vendure versions 3.0.5 or 2.3.3 to close this vulnerability. Additionally, consider using external object storage solutions like MinIO or S3, and implement middleware to block any requests with '/../' in the URL. You've got this! Follow those steps, and you'll be back in control with your server locked down tight! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.60416 · 99.1th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-10-15T16:08Z
EPSS history
Timeline
  • 15 OCT 16:08Z
    Vendure asset server plugin has local file read vulnerability with AssetServerPlugin & LocalAssetStorageStrategy
    cvelistv5