CVE-2023-46253CWE-22

Remote code execution in Squidex

Critical · published November 7, 2023

CVSS v3.1
9.1
EPSS
2%
Percentile
74.7
In the wild
Unconfirmed
What it is

🚨 An authenticated attacker can wield the power of remote code execution with just the right permissions in Squidex! 🔥 Think of the backup restore feature like a magician pulling a rabbit out of a hat. But what if the magician could accidentally pull out a dangerous creature instead? That’s what happens here when an attacker exploits the arbitrary file write vulnerability. This vulnerability is absolutely devastating! An attacker with the `squidex.admin.restore` permission can gain control over the server, execute any command, and potentially compromise the entire application. Imagine losing all your data or handing the keys to the kingdom over to a malicious entity — it’s a nightmare scenario!

Put simply

Think of the backup restore feature like a magician pulling a rabbit out of a hat. But what if the magician could accidentally pull out a dangerous creature instead? That’s what happens here when an attacker exploits the arbitrary file write vulnerability. This arbitrary file write vulnerability occurs because asset IDs are inserted into filenames without proper sanitization during the backup restore process, allowing an attacker to execute arbitrary operating system commands on the server.

What to do

This vulnerability is absolutely devastating! An attacker with the `squidex.admin.restore` permission can gain control over the server, execute any command, and potentially compromise the entire application. Imagine losing all your data or handing the keys to the kingdom over to a malicious entity — it’s a nightmare scenario! To protect your system, immediately update Squidex to the patched version and ensure that only trusted administrators have the `squidex.admin.restore` permission. Additionally, implement strict file validation to prevent unauthorized file writes. Don't leave your castle unguarded! You’ve got this! By taking these steps, you’ll defend your system and keep it safe from harm. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01538 · 74.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2023-11-07T18:56Z
EPSS history
Timeline
  • 07 NOV 18:56Z
    Remote code execution in Squidex
    cvelistv5