CVE-2023-46404

PCRS <= 3.11 (d0de1e) “Questions” page and “Code editor” page are vulnerable to remote code execution (RCE) by escaping Python sandboxing

Critical · published November 3, 2023

CVSS v3.1
9.9
EPSS
2%
Percentile
79.3
In the wild
Unconfirmed
What it is

🚨 Attention developers! A vulnerability in PCRS versions up to 3.11 allows attackers to escape Python sandboxing and execute remote code – it's a security nightmare waiting to happen! 🔥 Think of it like a magician who, despite being locked in a box, finds a way to escape and take control of the entire show. In this case, the Python sandbox is supposed to keep the code contained, but crafty attackers can slip out and run whatever they please on your server. An attacker exploiting this vulnerability could gain full control of your application, potentially accessing sensitive data, modifying your code, or even shutting down your service entirely. This could lead to catastrophic data breaches and devastating downtime for your users, making it a critical situation!

Put simply

Think of it like a magician who, despite being locked in a box, finds a way to escape and take control of the entire show. In this case, the Python sandbox is supposed to keep the code contained, but crafty attackers can slip out and run whatever they please on your server. This vulnerability in the PCRS software allows remote code execution (RCE) due to improper handling of user input on the 'Questions' and 'Code editor' pages, effectively bypassing the intended sandboxing of Python scripts.

What to do

An attacker exploiting this vulnerability could gain full control of your application, potentially accessing sensitive data, modifying your code, or even shutting down your service entirely. This could lead to catastrophic data breaches and devastating downtime for your users, making it a critical situation! To mitigate this risk, upgrade your PCRS installation to version 3.12 or later immediately. Additionally, ensure that your input validation and sandboxing mechanisms are robust to prevent such escapes in the future. Regularly audit your codebase for similar vulnerabilities. You've got this! With these steps, you can secure your application and take a big step toward becoming a security hero! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01887 · 79.3th percentile
Published
2023-11-03T00:00Z
EPSS history
Timeline
  • 03 NOV 00:00Z
    PCRS <= 3.11 (d0de1e) “Questions” page and “Code editor” page are vulnerable to remote code execution (RCE) by escaping Python sandboxing
    cvelistv5