<?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/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cpe:2.3:a:chamilo:chamilo_lms:2.0.0:alpha2:*:*:*:*:*:* - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/cpes/cpe2.3achamilochamilo_lms2.0.0alpha2/</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/cpes/cpe2.3achamilochamilo_lms2.0.0alpha2/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Chamilo LMS OS Command Injection Vulnerability (CVE-2026-35196)</title><link>https://feed.craftedsignal.io/briefs/2024-01-chamilo-os-command-injection/</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-chamilo-os-command-injection/</guid><description>Chamilo LMS versions prior to 2.0.0-RC.3 are vulnerable to OS Command Injection via the _cid session variable in the export_all_certificates action, potentially leading to arbitrary command execution.</description><content:encoded><![CDATA[<p>Chamilo LMS, an open-source learning management system, is susceptible to an OS Command Injection vulnerability (CVE-2026-35196) in versions prior to 2.0.0-RC.3. The vulnerability resides in the <code>main/inc/ajax/gradebook.ajax.php</code> endpoint, specifically within the <code>export_all_certificates</code> action. An attacker can exploit this flaw by manipulating the <code>_cid</code> session variable. Due to insufficient sanitization, the <code>_cid</code> value is directly concatenated into a <code>shell_exec()</code> command string. This allows an attacker to inject shell metacharacters and execute arbitrary commands on the underlying server. Successful exploitation could grant an attacker full access to read system files and credentials, modify the application and database, or disrupt server availability. Version 2.0.0-RC.3 addresses and resolves this vulnerability.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a Chamilo LMS instance running a version prior to 2.0.0-RC.3.</li>
<li>The attacker gains a valid session, potentially through legitimate login or other means.</li>
<li>The attacker manipulates the <code>_cid</code> session variable, injecting shell metacharacters (e.g., <code>;</code>, <code>|</code>, <code>&amp;&amp;</code>) and a malicious command. This can be achieved through browser developer tools or intercepting/modifying HTTP requests.</li>
<li>The attacker triggers the <code>export_all_certificates</code> action in the <code>main/inc/ajax/gradebook.ajax.php</code> endpoint.</li>
<li>The application retrieves the attacker-controlled <code>_cid</code> value from the session using <code>api_get_course_id()</code>.</li>
<li>The application concatenates the unsanitized <code>_cid</code> value into a <code>shell_exec()</code> command.</li>
<li>The <code>shell_exec()</code> function executes the injected command on the server.</li>
<li>The attacker gains arbitrary command execution, allowing them to read sensitive files, modify the application, or disrupt the server.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-35196 allows an attacker to execute arbitrary commands on the Chamilo LMS server. This could lead to the compromise of sensitive data, including system files, credentials, and database contents. An attacker can also modify the application, inject malicious code, or disrupt server availability, leading to a complete loss of confidentiality, integrity, and availability. The number of potential victims is related to the number of unpatched Chamilo LMS instances exposed to the internet. Sectors affected may include education and training organizations.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade Chamilo LMS to version 2.0.0-RC.3 or later to patch CVE-2026-35196.</li>
<li>Deploy the Sigma rule &quot;Chamilo LMS OS Command Injection Attempt&quot; to your SIEM and tune for your environment to detect attempts to exploit the vulnerability via web server logs.</li>
<li>Monitor web server logs for suspicious requests to <code>main/inc/ajax/gradebook.ajax.php</code> containing shell metacharacters in the <code>_cid</code> parameter.</li>
<li>Implement input validation and sanitization for all user-supplied data, especially session variables, to prevent command injection attacks.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>cve-2026-35196</category><category>os command injection</category><category>chamilo lms</category><category>web application</category></item></channel></rss>