CVE-2023-4220 in chamilo lms
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in Chamilo LMS <= v1.11.24 allows unauthenticated attackers to perform stored cross-site scripting attacks and obtain remote code execution via uploading of web shell.
Affected software: chamilo lms
Scores
- CVSS: 6.1 (medium)
- EPSS: 80.80% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2023-11-28
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update Chamilo LMS past 1.11.24 or apply the bigUpload fix
Patch or upgrade. Chamilo LMS 1.11.24 and earlier accept any file through bigUpload.php without login and store it in a web folder. The fix removes that upload path; the files folder must also stop running PHP.
Applies to: Chamilo LMS 1.11.24 and earlier.
- Check the Chamilo version under Administration > System status.
- Update to the latest 1.11.x release, or apply the patch from the Chamilo security issue 130 (commit 3b487a5).
- Block PHP execution in main/inc/lib/javascript/bigupload/files/ in the web server configuration.
- Look in that folder for files other than the expected uploads and remove them.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.