(CVE-2023-4222) Chamilo LMS Learning Path PPT2LP OpenofficeTextDocument Command Injection
A command injection vulnerability exists in Chamilo LMS's openoffice_text_document.class.php file, allowing an authenticated attacker with high privileges to execute arbitrary operating system commands. This could lead to remote code execution 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 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, user-supplied input is passed to an operating system command without proper sanitisation or validation.
Impact
An authenticated attacker with high privileges could execute arbitrary commands on the server, leading to full compromise.
What the attacker needed
High-privilege 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.
This is a command injection bug in a learning management system. An attacker who already has a high-privilege account can trick the server into running harmful commands, potentially taking control of the whole system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.