CVE-2026-61583: Chamilo LMS: Authenticated RCE through .htaccess in dropbox
Chamilo LMS is an open-source learning management system. Prior to 1.11.40, main/dropbox/dropboxfunctions.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.11.40
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated participant in a course can exploit it, provided the course dropbox tool is enabled and the affected Apache configuration permits .htaccess overrides.
What configuration is required for exploitation?
The vulnerable dropbox upload directory must be served by Apache with AllowOverride All. The dropbox tool must also be enabled.
What does successful exploitation require?
An attacker uploads a file named .htaccess to the course dropbox, then uploads a PHP payload disguised as a .gif. The .htaccess file changes handler behavior so the payload can execute as the web-server user.
How can I tell whether an installation is affected?
Installations prior to version 1.11.40 are affected when the dropbox tool is enabled and Apache allows AllowOverride All for the relevant directory. Review course dropbox uploads for a literal .htaccess file and suspicious .gif uploads.
What can be done if upgrading is not immediately possible?
Disable the dropbox tool and remove AllowOverride All from the Apache configuration for the directory serving dropbox uploads. Review existing dropbox content for .htaccess files and disguised PHP payloads.