CVE-2023-4613CWE-22

Upload Directory Path Traversal Allows Unauthenticated Arbitrary File Read Vulnerability

Critical · published September 4, 2023

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

🚨 An absolute game-changer: a remote attacker can execute arbitrary code on LG LED Assistant installations without any authentication needed! 🔥 Think of this like a restaurant allowing anyone to step behind the counter and whip up whatever dish they want, ignoring the trained chefs. If an attacker can reach the /api/settings/upload endpoint, they can serve up a surprise that no one ordered! This vulnerability could allow attackers to run malicious code in the context of the current user, leading to devastating consequences such as data theft, system compromise, or even taking over the entire device. The potential for chaos is enormous, making it crucial to address this promptly!

Put simply

Think of this like a restaurant allowing anyone to step behind the counter and whip up whatever dish they want, ignoring the trained chefs. If an attacker can reach the /api/settings/upload endpoint, they can serve up a surprise that no one ordered! The flaw lies in the lack of proper validation for a user-supplied path in the /api/settings/upload endpoint. This oversight enables attackers to exploit it and execute harmful code remotely without needing to log in.

What to do

This vulnerability could allow attackers to run malicious code in the context of the current user, leading to devastating consequences such as data theft, system compromise, or even taking over the entire device. The potential for chaos is enormous, making it crucial to address this promptly! It's imperative to patch LG LED Assistant to the latest version immediately. Additionally, implement strict input validation for the /api/settings/upload endpoint to ensure only safe paths are processed. Don't delay! You've got this! Follow these steps and you'll be reinforcing your defenses 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.02546 · 84.9th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2023-09-04T08:16Z
EPSS history
Timeline
  • 04 SEP 08:16Z
    Upload Directory Path Traversal Allows Unauthenticated Arbitrary File Read Vulnerability
    cvelistv5