Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, the default password reset mechanism generates tokens using sha1($email) with no random component, no expiration, and no rate limiting. An attacker who knows a user's email can compute the reset token and change the victim's password without authentication. This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.
The password reset mechanism in Chamilo LMS creates a token based solely on the user's email address using the sha1() function, without adding a random component (such as salt or timestamp). The token has no expiration date or usage attempt limit. An attacker, knowing the victim's email address, can independently calculate the token value and directly invoke a password change request without interaction with the account owner.
An attacker can compromise any user account on the platform without authentication by resetting the password, leading to violation of data confidentiality and integrity. In the case of administrative accounts, the consequence may be complete compromise of the entire Chamilo LMS instance.
Update Chamilo LMS to version 1.11.38 or newer (1.x branch) or to version 2.0.0-RC.3 or newer (2.x branch). Patches are available in the official GitHub repository of the project (commits 078d7e5b and 750a4531). Until an update is applied, it is recommended to monitor logs for unauthorized password reset requests and consider temporarily disabling the self-service password reset functionality.
Chamilo LMS in versions prior to 1.11.38 (1.x branch) and prior to 2.0.0-RC.3 (2.x branch).
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LChamilo Lms
APPChamilo2.0.0< 1.11.38
Related vulnerabilities
Chamilo LMS: ominięcie uwierzytelnienia i modyfikacja plików przez katalog install
OS Command Injection w Chamilo LMS — funkcja przenoszenia plików
Niezauwytoryzowany SQL injection w Chamilo LMS — przejęcie konta administratora
Stored XSS w Chamilo LMS — przejęcie kont wyżej uprzywilejowanych użytkowników
Stored XSS w Chamilo LMS umożliwiający przejęcie kont administratorów