CVE-2023-43364

main.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution

Critical · published December 12, 2023

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

🔥 A simple command line input can lead to full code execution! This CVE-2023-43364 flaw in Searchor before version 2.4.2 uses eval on user input, making it a playground for attackers! ⚠️ Think of it as a restaurant where the chef blindly follows any order from the customers, without checking for allergens or any special instructions. One rogue order can lead to a disastrous dish that no one asked for! An attacker could execute any arbitrary code on the server just by crafting a malicious input, potentially compromising sensitive data or even taking full control of the system. This could lead to catastrophic consequences for businesses relying on this tool, as they might lose critical data or face system downtime.

Put simply

Think of it as a restaurant where the chef blindly follows any order from the customers, without checking for allergens or any special instructions. One rogue order can lead to a disastrous dish that no one asked for! The vulnerability allows arbitrary code execution by utilizing Python's eval function on command line inputs without proper validation or sanitization. This means any input provided could be run as executable code, leading to severe security risks.

What to do

An attacker could execute any arbitrary code on the server just by crafting a malicious input, potentially compromising sensitive data or even taking full control of the system. This could lead to catastrophic consequences for businesses relying on this tool, as they might lose critical data or face system downtime. Update Searchor to version 2.4.2 or later to eliminate this risk. Also, scrutinize the code to remove any instances of eval on user inputs to prevent future vulnerabilities. Implement strict input validation to safeguard against similar attacks. You've got this! By updating and securing your code, you're taking a major step towards being a security hero! 🛡️

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.02862 · 86.7th percentile
Published
2023-12-12T00:00Z
EPSS history
Timeline
  • 12 DEC 00:00Z
    main.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution
    cvelistv5