CVE-2023-3533
Chamilo vulnerability analysis and mitigation

Overview

CVE-2023-3533 is a critical vulnerability discovered in Chamilo LMS versions <= v1.11.20. The vulnerability involves a path traversal issue in the file upload functionality within /main/webservices/additional_webservices.php, which allows unauthenticated attackers to perform stored cross-site scripting attacks and obtain remote code execution through arbitrary file write (STAR Labs Advisory).

Technical details

The vulnerability exists due to improper sanitization of file paths in the wsConvertPpt function. The sanitization functions Security::sanitizeExecParam() and Security::filter_filename() fail to prevent path traversal as they don't remove dots (.) and forward slashes (/). The CVSS v3.1 base score is 9.8 (Critical) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating network accessibility, low attack complexity, and no required privileges or user interaction (STAR Labs Advisory).

Impact

The vulnerability allows attackers to achieve stored cross-site scripting by placing malicious HTML files in writable and publicly-accessible directories within the web root. More critically, attackers can achieve remote code execution by forging PHP session files containing deserialization gadget chains, even if the web root is non-writable (STAR Labs Advisory).

Mitigation and workarounds

The vulnerability was patched in version 1.11.22. The fix involves ensuring that the destination file path does not traverse out of the intended directory by checking for '..' in the user-supplied file_name. Users are strongly encouraged to update to the latest version of Chamilo to mitigate this and other high-severity vulnerabilities (STAR Labs Advisory, Chamilo Patch).

Additional resources


SourceThis report was generated using AI

Related Chamilo vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-30616HIGH8.8
  • ChamiloChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoNoNov 04, 2024
CVE-2024-30619HIGH7.5
  • ChamiloChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoNoNov 04, 2024
CVE-2024-30618MEDIUM6.1
  • ChamiloChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoNoNov 04, 2024
CVE-2024-51142MEDIUM5.4
  • ChamiloChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoNoNov 15, 2024
CVE-2024-30617MEDIUM5.4
  • ChamiloChamilo
  • cpe:2.3:a:chamilo:chamilo_lms
NoNoNov 04, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management