Skip to main content

Chamilo LMS EUVDEUVD-2026-129096

| CVE-2026-61583 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-11-18 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as enrolled course student
  2. Delivery
    Upload crafted .htaccess to course dropbox
  3. Exploit
    Upload PHP payload disguised as .gif
  4. Execution
    Apache executes payload as web-server user
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

chamilo-lms < 1.11.40

Affected Packages

euvd chamilo_lms fix: 1.11.40

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

Vendor (GitHub_M) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 19:03 EUVD
CVE Published
Nov 18, 2026 - 18:22 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Medium
open-source LMS common in education/e-learning, not universally deployed
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2025-50187 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.

CVE-2025-50192 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex

CVE-2025-50190 CRITICAL POC
9.8 Mar 02

Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.

CVE-2021-35414 CRITICAL POC
9.8 Dec 03

Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload

CVE-2019-13082 CRITICAL POC
9.8 Jun 30

Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra

CVE-2025-50199 CRITICAL POC
9.1 Mar 02

Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p

CVE-2023-4220 MEDIUM POC
6.1 Nov 28

Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C

CVE-2025-50189 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. [CVSS 8.8 HIGH]

CVE-2025-52468 HIGH POC
8.8 Mar 02

Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi

CVE-2024-30616 HIGH POC
8.8 Nov 04

Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi

CVE-2023-4226 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit

CVE-2023-4225 HIGH POC
8.8 Nov 28

Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy