CVE-2025-66225
JSON

8.7high

OrangeHRM is Vulnerable to Account Takeover Through Unvalidated Username in Password Reset Workflow

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.19% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

OrangeHRM is a comprehensive human resource management (HRM) system. From version 5.0 to 5.7, the password reset workflow does not enforce that the username submitted in the final reset request matches the account for which the reset process was originally initiated. After obtaining a valid reset link for any account they can receive email for, an attacker can alter the username parameter in the final reset request to target a different user. Because the system accepts the supplied username without verification, the attacker can set a new password for any chosen account, including privileged accounts, resulting in full account takeover. This issue has been patched in version 5.8.

Affected

Product or packageVersionsReported by
orangehrm orangehrm>= 5.0, < 5.8, from 5.0 before 5.8CVE List, NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-20CWE-345CWE-640

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

OrangeHRM is a comprehensive human resource management (HRM) system. From version 5.0 to 5.7, the password reset workflow does not enforce that the username submitted in the final reset request matches the account for which the reset process was originally initiated. After obtaining a valid reset link for any account they can receive email for, an attacker can alter the username parameter in the final reset request to target a different user. Because the system accepts the supplied username without verification, the attacker can set a new password for any chosen account, including privileged accounts, resulting in full account takeover. This issue has been patched in version 5.8.

NVD (es)

OrangeHRM es un sistema integral de gestión de recursos humanos (HRM). Desde la versión 5.0 hasta la 5.7, el flujo de trabajo de restablecimiento de contraseña no exige que el nombre de usuario enviado en la solicitud final de restablecimiento coincida con la cuenta para la cual se inició originalmente el proceso de restablecimiento. Después de obtener un enlace de restablecimiento válido para cualquier cuenta de la que puedan recibir correo electrónico, un atacante puede alterar el parámetro de nombre de usuario en la solicitud final de restablecimiento para dirigirse a un usuario diferente. Debido a que el sistema acepta el nombre de usuario proporcionado sin verificación, el atacante puede establecer una nueva contraseña para cualquier cuenta elegida, incluidas las cuentas privilegiadas, lo que resulta en una toma de control total de la cuenta. Este problema ha sido parcheado en la versión 5.8.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66225 changed 2025-12-01CVE Terms of Use
NVDCVE-2025-66225 changed 2026-10-18Public domain