8.7high
LimeSurvey Password Reset Host Header Injection Discloses Reset Token
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.37% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-5c37-5j7w-8mh8
Description
LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it. The optional allowedHosts allowlist that would constrain this is undefined in the default (and documented) configuration, so LSHttpRequest::checkIsAllowedHost() results in no operation. A remote, unauthenticated attacker who submits a forgotten-password request for a known account (requiring only the target's username and email) with a spoofed Host header causes LimeSurvey to email that account a reset link whose hostname is attacker-controlled while embedding the genuine validation_key. When the recipient or an automated inbound mail-security link scanner dereferences the link, the valid reset token is disclosed to the attacker, who replays it against the legitimate host's newPassword endpoint to set a new password and take over the account.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LimeSurvey LimeSurvey | up to 7.0 Not affected: 7.0.1 | CVE List |
| limesurvey/limesurvey (Packagist) | up to 7.0.0-beta1 | GitHub Advisory Database |
All scores
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
LimeSurvey constructs account password-reset links from the client-supplied HTTP Host header without validating it. The optional allowedHosts allowlist that would constrain this is undefined in the default (and documented) configuration, so LSHttpRequest::checkIsAllowedHost() results in no operation. A remote, unauthenticated attacker who submits a forgotten-password request for a known account (requiring only the target's username and email) with a spoofed Host header causes LimeSurvey to email that account a reset link whose hostname is attacker-controlled while embedding the genuine validation_key. When the recipient or an automated inbound mail-security link scanner dereferences the link, the valid reset token is disclosed to the attacker, who replays it against the legitimate host's newPassword endpoint to set a new password and take over the account.
NVD (es)
LimeSurvey construye enlaces de restablecimiento de contraseña de cuenta a partir del encabezado Host HTTP proporcionado por el cliente sin validarlo. La lista de permitidos opcional allowedHosts que restringiría esto no está definida en la configuración predeterminada (y documentada), por lo que LSHttpRequest::checkIsAllowedHost() no realiza ninguna operación. Un atacante remoto y no autenticado que envía una solicitud de contraseña olvidada para una cuenta conocida (que requiere solo el nombre de usuario y el correo electrónico del objetivo) con un encabezado Host falsificado hace que LimeSurvey envíe por correo electrónico a esa cuenta un enlace de restablecimiento cuyo nombre de host está controlado por el atacante, mientras incrusta la validation_key genuina. Cuando el destinatario o un escáner automatizado de enlaces de seguridad de correo entrante desreferencia el enlace, el token de restablecimiento válido se revela al atacante, quien lo reproduce contra el endpoint newPassword del host legítimo para establecer una nueva contraseña y tomar el control de la cuenta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50635 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5c37-5j7w-8mh8 changed 2026-07-31 | CC-BY-4.0 |
| NVD | CVE-2026-50635 changed 2026-10-08 | Public domain |