Skip to content
RCE Write-up Intermediate

(CVE-2023-4221) Chamilo LMS Learning Path PPT2LP OpenofficePresentation Command Injection

A command injection flaw exists in Chamilo LMS's openoffice_presentation.class.php file, allowing an attacker to run operating system commands. The report states this could lead to unauthenticated remote code execution, though the CVSS vector indicates high privileges are required.

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

Impact

An attacker could execute arbitrary operating system commands on the server, potentially leading to remote code execution, though the CVSS vector suggests high privileges are required.

What the attacker needed

High privileges (per CVSS vector)

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 bug where a web application passes user-supplied text into a system command without cleaning it first. An attacker can add extra command instructions, so the server runs their commands as if they were typed by an administrator. The report says this can lead to remote code execution, meaning the attacker can run their own programs on the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.