Weak password recovery mechanism in osTicket by Enhancesoft LLC
Un fallo lógico en la validación del token de restablecimiento de contraseña permite reutilizar tokens expirados para comprometer cuentas de usuario.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Background
osTicket by Enhancesoft LLC is a free, open-source technical support ticket management system widely used by organizations of all sizes.
Description
A logic vulnerability exists in the password reset token validation routine of osTicket versions prior to v1.17.8 and v1.18.4. The application checks whether a reset token's validity window has expired, but the expiry check is only performed if the timestamp lookup fails.
This means that tokens with existing timestamps can bypass the expiration validation entirely. The root cause is a logical operator error: the code used a logical AND (&&) when it should have used OR (||), causing the validation to fail when both conditions were not simultaneously true.
Business impact
An attacker able to obtain a valid password reset token could reuse it indefinitely to perform an unauthorised password reset and compromise the affected account. Given the critical nature of helpdesk systems that often handle sensitive customer data and internal communications, this vulnerability poses a significant risk to confidentiality and integrity.
Systems affected
osTicket versions prior to v1.17.8 and v1.18.4.
Solution
Upgrade to osTicket v1.17.8 or v1.18.4, which correct the logical operator from && to || in the token validation routine.
Disclosure timeline
References
The information contained within this advisory is supplied 'as-is' with no warranties or guarantees of fitness of use or otherwise. Internet Security Auditors accepts no responsibility for any damage caused by the use or misuse of this information.
Compañía con sede en España y Colombia, especializada en auditoría de aplicaciones web, seguridad de red, test de intrusión e implantación y evaluación de cumplimiento. Nuestros clientes incluyen algunas de las mayores compañías de finanzas, telecomunicaciones, seguros y TIC. Proveedor independiente de fabricante, con experiencia profunda desde 2001. Nuestro esfuerzo en I+D incluye investigación de vulnerabilidades, colaboración en proyectos abiertos de seguridad, whitepapers y participación en eventos del sector.
¿Quieres que revisemos tu producto?
Contacta con nosotros¿Necesitas una auditoría de seguridad?
Cuéntanos tu situación y nuestro equipo se pondrá en contacto contigo para orientarte o agendar una llamada técnica.
