<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Chamilo LMS - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/chamilo-lms/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 29 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/chamilo-lms/feed.xml" rel="self" type="application/rss+xml"/><item><title>Chamilo LMS Unrestricted File Upload Leads to Remote Code Execution</title><link>https://feed.craftedsignal.io/briefs/2024-01-29-chamilo-rce/</link><pubDate>Mon, 29 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-29-chamilo-rce/</guid><description>An unrestricted file upload vulnerability in Chamilo LMS (CVE-2026-32931) allows an authenticated teacher to upload a PHP webshell, leading to remote code execution.</description><content:encoded><![CDATA[<p>Chamilo LMS, a learning management system, is vulnerable to an unrestricted file upload (CVE-2026-32931). This flaw affects versions prior to 1.11.38 and 2.0.0-RC.3. A teacher, after successful authentication, can exploit the exercise sound upload function to inject a PHP webshell. By manipulating the Content-Type header to appear as &quot;audio/mpeg&quot;, the attacker bypasses file type restrictions. The malicious PHP file is then stored in a publicly accessible web directory. This leads to remote code execution, granting the attacker control with the privileges of the web server user (www-data). Successful exploitation allows attackers to compromise the Chamilo LMS server, potentially leading to data theft, defacement, or further lateral movement within the network.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker authenticates to the Chamilo LMS as a teacher.</li>
<li>The attacker navigates to the exercise sound upload function within the Chamilo LMS interface.</li>
<li>The attacker crafts a malicious PHP webshell (e.g., <code>evil.php</code>).</li>
<li>The attacker intercepts the file upload request and modifies the <code>Content-Type</code> header to <code>audio/mpeg</code>.</li>
<li>The attacker uploads the PHP webshell, which is then saved with its original <code>.php</code> extension to a web-accessible directory on the server.</li>
<li>The attacker accesses the uploaded PHP webshell (e.g., <code>/upload/evil.php</code>) via a web browser.</li>
<li>The PHP webshell executes arbitrary commands on the server with the privileges of the web server user (www-data).</li>
<li>The attacker can then use the webshell for further malicious activities such as reconnaissance, lateral movement, or data exfiltration.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-32931 allows an attacker to execute arbitrary code on the Chamilo LMS server. The attacker gains control with the privileges of the web server user, potentially leading to sensitive data theft, complete system compromise, or further attacks on internal infrastructure. Given the nature of LMS systems, this could expose student records, course materials, and other confidential information, leading to a significant breach of privacy and security.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Chamilo LMS to version 1.11.38 or 2.0.0-RC.3 to patch CVE-2026-32931.</li>
<li>Implement web application firewall (WAF) rules to inspect and block file uploads with suspicious Content-Type headers that do not match the file extension.</li>
<li>Monitor web server logs for access to unusual PHP files in upload directories, which may indicate successful exploitation. Deploy the provided Sigma rule to assist in this monitoring.</li>
<li>Implement strict file upload policies and validate file types on the server side, regardless of the Content-Type header provided by the client.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>chamilo</category><category>rce</category><category>file-upload</category></item><item><title>Chamilo LMS Remote Code Execution via Arbitrary File Upload (CVE-2026-33704)</title><link>https://feed.craftedsignal.io/briefs/2024-01-24-chamilo-rce/</link><pubDate>Wed, 24 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-24-chamilo-rce/</guid><description>Chamilo LMS versions prior to 1.11.38 are vulnerable to remote code execution via arbitrary file upload by authenticated users due to insufficient file extension filtering in the BigUpload endpoint, allowing execution of PHP code on servers configured to process .pht files.</description><content:encoded><![CDATA[<p>Chamilo LMS, a learning management system, is vulnerable to a critical remote code execution (RCE) flaw identified as CVE-2026-33704. This vulnerability affects versions prior to 1.11.38. An authenticated user, including students, can exploit this vulnerability by writing arbitrary content to files on the server using the BigUpload endpoint. The vulnerability lies in the insufficient filtering of file extensions. While the .php extension is filtered and converted to .phps, the .pht extension is not modified. If the Apache web server is configured to handle .pht files as PHP, this can lead to arbitrary code execution. The vulnerability was patched in version 1.11.38. Exploitation allows attackers to compromise the web server hosting the Chamilo LMS instance.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker authenticates to the Chamilo LMS as a legitimate user (e.g., student).</li>
<li>The attacker crafts a malicious HTTP POST request targeting the <code>BigUpload</code> endpoint.</li>
<li>The request includes a <code>key</code> parameter specifying the desired filename, using a <code>.pht</code> extension.</li>
<li>The request body contains arbitrary PHP code that the attacker wants to execute on the server.</li>
<li>The Chamilo LMS application processes the request but fails to properly sanitize the <code>.pht</code> extension.</li>
<li>The application writes the attacker-controlled PHP code to a file with a <code>.pht</code> extension in the web server's document root or accessible directory.</li>
<li>The attacker sends an HTTP request to the newly created <code>.pht</code> file.</li>
<li>The Apache web server, if configured to process <code>.pht</code> files as PHP, executes the attacker-supplied code, leading to remote code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-33704 allows an attacker to execute arbitrary code on the Chamilo LMS server. This could lead to complete system compromise, data theft, defacement of the learning platform, or further malicious activities within the network. Given the nature of an LMS, student and faculty data, including personal information and academic records, could be exposed. There are no specific victim counts available but successful exploitation grants complete control of the Chamilo LMS instance.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Chamilo LMS to version 1.11.38 or later to patch CVE-2026-33704.</li>
<li>Configure the Apache web server to not execute <code>.pht</code> files as PHP. This mitigation can be implemented even without patching.</li>
<li>Deploy the Sigma rule <code>Chamilo_BigUpload_PHT_File_Creation</code> to detect the creation of <code>.pht</code> files via the <code>BigUpload</code> endpoint.</li>
<li>Monitor web server access logs for requests to <code>.pht</code> files in the Chamilo LMS web directory using the <code>Chamilo_PHT_File_Access</code> Sigma rule.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>chamilo</category><category>lms</category><category>rce</category><category>cve-2026-33704</category></item></channel></rss>