Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as enrolled course student
-
DeliveryUpload crafted .htaccess to course dropbox
-
ExploitUpload PHP payload disguised as .gif
-
ExecutionApache executes payload as web-server user
-
ImpactExfiltrate DB credentials and plant backdoor
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) an authenticated account enrolled in a course as a participant/student (CVSS PR:L); (2) the course dropbox tool enabled, which the advisory states is the default; and (3) Apache serving the dropbox directory with AllowOverride All, which Chamilo requires and the advisory calls a default install with no special settings. The concrete trigger is uploading a literal .htaccess filename (accepted unchanged by store_add_dropbox in main/dropbox/dropbox_functions.inc.php before the fix) followed by a PHP payload with a .gif extension. Limiting factors that reduce real-world exposure: a valid enrolled course account is needed (no pre-auth path on its own, though the advisory notes it chains with a separate SQLi or admin-takeover flaw), the dropbox tool must be enabled, and only versions <= 1.11.38 are affected (fixed in 1.11.40; the legacy dropbox and this primitive do not exist in 2.0.0). |
| Impact | This is a credible, actionable priority rather than a paper tiger. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) indicates network reachability, low complexity, no attack requirements, and only low privileges - any enrolled student - with full confidentiality/integrity/availability impact on the vulnerable system (SC:N/SI:N/SA:N, no scope change). The vuln.today decision label is 'this_week', consistent with a serious authenticated flaw that is not yet confirmed as mass-exploited. Reinforcing the risk: the GHSA advisory documents a complete, mechanistically clear exploitation chain (.htaccess upload → PHP-as-.gif upload → RCE as www-data) that works against a default Chamilo configuration, and notes it can chain with a pre-auth SQLi and an admin-takeover advisory to become effectively pre-authentication. Tempering the risk: EPSS is not provided in the input, the CVE is NOT on CISA KEV, and no working exploit code is referenced (only the advisory, fix commit, and release). Exploitation also requires a valid course-enrolled account and the dropbox tool enabled. Net: high-value, low-barrier authenticated RCE in a web-facing LMS - treat as a near-term patch priority, but note there is no confirmed active exploitation or EPSS signal in the supplied data. |
| Exploit ScenarioDerived | An attacker who holds (or obtains via the chained SQLi/admin-takeover advisories) any student account enrolled in a course first uploads a literal .htaccess file to the course dropbox, which Apache applies because Chamilo requires AllowOverride All; they then upload a PHP webshell renamed with a .gif extension, and the attacker-supplied handler directive causes Apache to execute it, yielding code execution as the web-server user (typically www-data). No working public exploit code is referenced, but the GHSA advisory describes the full chain in reproducible detail. Because CVSS is AV:N/AC:L, the two uploads require only normal network access and no special timing or race condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated course participants in Chamilo LMS 1.11.38 and earlier can upload a file literally named .htaccess into the course dropbox, then upload a PHP payload disguised as a .gif, resulting in remote code execution as the web-server user when the dropbox tool is enabled and Apache applies the uploaded .htaccess. The flaw combines unrestricted dangerous file upload with external control of the filename (CWE-434, CWE-73); exploitation requires a valid enrolled course account, the dropbox tool enabled (default), and the AllowOverride All Apache configuration that Chamilo requires. Fixed in 1.11.40 (the legacy dropbox and this primitive do not exist in 2.0.0); no public exploit code is identified in the available data, and the risk is a credible, actionable priority rather than a paper tiger.
RemediationAI
Vendor-released patch: Chamilo LMS 1.11.40, which replaces php2phps() with disable_dangerous_file() in main/dropbox/dropbox_functions.inc.php so a literal .htaccess is stored as htaccess.txt; upgrade using the release at https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.40 and review the fix commit https://github.com/chamilo/chamilo-lms/commit/84af54a6583cc85aa22c3ffa605476ef79348c21 or advisory https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-853c-q5q4-jm2c. No vendor workaround is documented in the available data; where upgrading is not immediately possible, the exposure described in the advisory is limited by disabling the course dropbox tool and by not serving the dropbox directory with AllowOverride All, though Chamilo is stated to require AllowOverride All, so that change should be validated against the rest of the installation before it is relied on. Existing dropbox directories should be checked for stored .htaccess files and .gif files containing PHP code, and the installation, course content and app/config/configuration.php database credentials should be treated as exposed if such files are found.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Chamilo LMS is a PHP learning management system typically deployed on Apache with AllowOverride All so that per-directory .htaccess files are honored. The vulnerable sink is store_add_dropbox() in main/dropbox/dropbox_functions.inc.php, reachable through main/inc/ajax/dropbox.ajax.php?a=upload_file. Before the fix the handler only applied php2phps() to the uploaded filename, which neutralizes .php extensions but leaves a literal .htaccess name intact, and the cb_overwrite branch can skip the uniqid() rename when no matching sentWork entry exists, so the attacker-controlled filename reaches move_uploaded_file() in a directory served by Apache. That yields the CWE-434 dangerous-type upload and the CWE-73 filename-control weakness in one path: the first upload writes an .htaccess that changes Apache handler behavior in the dropbox directory, and the second upload places PHP content with a .gif extension that Apache then executes under those directives. The upstream commit 84af54a6583cc85aa22c3ffa605476ef79348c21 replaces php2phps() with disable_dangerous_file(), extending the transformation to .htaccess (as htaccess.txt). Consequences of successful execution are read/write access to the Chamilo installation, course content, and database credentials stored in app/config/configuration.php, plus the ability to leave a persistent backdoor. The advisory notes the primitive can be chained with a separate pre-authentication SQL injection to extract credentials or with an unauthenticated administrator-takeover flaw to enroll an attacker account, making it an effective pre-auth RCE in those combinations, but neither chained flaw is part of this CVE.
Know when Chamilo Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Remote low-complexity uploads need only an enrolled student account (PR:L) and no interaction; RCE as the web-server user gives full C/I/A, with no scope change beyond the vulnerable system.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Chamilo LMS is an open-source learning management system. Prior to 1.11.40, main/dropbox/dropbox_functions.inc.php accepts a literal .htaccess filename in the course dropbox and stores it in a directory served by Apache, where the file can alter handler behavior under the required AllowOverride All configuration. Any authenticated course participant can upload .htaccess and then upload a PHP payload disguised as a .gif, resulting in code execution as the web-server user when the dropbox tool is enabled. This can expose or modify the Chamilo installation, course content, and database credentials. This issue is fixed in version 1.11.40.
Technical POC Analysis
CWE-434 (Unrestricted Upload of File with Dangerous Type) combined with CWE-73 (External Control of File Name or Path).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-61583 allows any authenticated course participant to upload a malicious .htaccess file and a disguised PHP payload through the Chamilo LMS dropbox, achieving remote code execution as the web-server user. This puts sensitive data and system integrity at risk for all organizations running Chamilo 1.11.38 or earlier with the dropbox tool enabled, potentially leading to full compromise of the learning platform and underlying server.
No vendor-released patch identified at time of analysis. Interim mitigations: disable the dropbox tool if not essential; restrict course enrollment to trusted users; deploy WAF rules to block .htaccess uploads and PHP execution in upload directories; monitor file uploads for anomalous extensions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
EUVD-2026-129096
NVD
CVE.org
EPSS
GitHub
Exploit-DB