(CVE-2023-4220) Chamilo LMS Unauthenticated Big Upload File Remote Code Execution
The big file upload endpoint in Chamilo LMS accepts files of dangerous types without restriction, so an unauthenticated attacker could upload a web shell and run code on the server. The text states this is an unauthenticated remote code execution issue.
starlabs.sg
Published on starlabs.sg
Chamilo is an open-source PHP-based Learning Management System (LMS) that facilitates online education and training. It offers features such as course creation, content management, assessments, collaboration and delivering educational resources.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the big file upload handler does not validate the file type or extension before storing the uploaded file in a web-accessible location.
Impact
An unauthenticated attacker could upload a dangerous file and achieve remote code execution on the server, though the CVSS vector notes high attack complexity.
What the attacker needed
Network access to the Chamilo instance; no account needed
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A file upload feature is meant to accept things like documents or images. Here the server did not check what kind of file was being sent, so someone could send a program (a web shell) that the server would then run. That lets an outsider run their own commands on the server without logging in.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.