CVE-2023-3545CWE-178

Chamilo LMS Htaccess File Upload Security Bypass

Critical · published November 28, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
84.2
In the wild
Unconfirmed
What it is

🚨 An unauthenticated attacker can upload a malicious `.htaccess` file, like sneaking in a fake menu at your favorite restaurant that changes all the orders! 🔥 This vulnerability acts like a restaurant with weak security, where anyone can slip in a forged menu to serve themselves exactly what they want. Once inside, they can modify the entire dining experience—just as an attacker can gain control of the server by exploiting this flaw. If exploited, this vulnerability could give attackers full remote code execution capabilities, allowing them to take complete control over the server. Imagine losing everything because someone changed the recipe book behind-the-scenes—absolutely devastating!

Put simply

This vulnerability acts like a restaurant with weak security, where anyone can slip in a forged menu to serve themselves exactly what they want. Once inside, they can modify the entire dining experience—just as an attacker can gain control of the server by exploiting this flaw. The issue arises from improper sanitization in `main/inc/lib/fileUpload.lib.php` in Chamilo LMS versions up to 1.11.20. This allows unauthenticated attackers to bypass file upload protections by uploading `.htaccess` files that can execute arbitrary code on the server.

What to do

If exploited, this vulnerability could give attackers full remote code execution capabilities, allowing them to take complete control over the server. Imagine losing everything because someone changed the recipe book behind-the-scenes—absolutely devastating! Immediate action is necessary: upgrade Chamilo LMS to at least version 1.11.21, implement strict file upload security measures, and consider disabling `.htaccess` processing if not needed. Don’t forget to audit your security settings to guard against other vulnerabilities like CVE-2023-3533! You've got this! Follow these steps and your server will be fortified 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.02438 · 84.2th percentile
Weakness
CWE-178 · Improper Handling of Case Sensitivity
Published
2023-11-28T07:07Z
EPSS history
Timeline
  • 28 NOV 07:07Z
    Chamilo LMS Htaccess File Upload Security Bypass
    cvelistv5