Skip to content
File upload Write-up Intermediate

(CVE-2023-4224) Chamilo LMS Dropbox Ajax File Upload Functionality Remote Code Execution

The Dropbox Ajax file upload functionality in Chamilo LMS allowed an authenticated user to upload files with dangerous types, which could lead to remote code execution. An attacker with a low-privileged account could upload a web shell and execute commands on the server.

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 author, on starlabs.sg

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 file upload endpoint did not validate the file type or extension, allowing executable files to be stored and run.

Impact

An authenticated attacker could upload a web shell and execute arbitrary commands on the server, leading to full compromise.

What the attacker needed

A low-privileged account

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 let users send files to the server, but it did not check what kind of file was being sent. An attacker could upload a script that the server would run, giving them control over the server. This is called remote code execution.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.