CVE-2025-62406
JSON

8.1high

Piwigo is vulnerable to one-click account takeover by modifying the password-reset link

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

Piwigo is a full featured open source photo gallery application for the web. In Piwigo 15.6.0, using the password reset function allows sending a password-reset URL by entering an existing username or email address. However, the hostname used to construct this URL is taken from the HTTP request's Host header and is not validated at all. Therefore, an attacker can send a password-reset URL with a modified hostname to an existing user whose username or email the attacker knows or guesses. This issue has been patched in version 15.7.0.

Affected

Product or packageVersionsReported by
Piwigo Piwigo= 15.6.0, 15.6.0CVE List, NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-640

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

What each source says

CVE List

Piwigo is a full featured open source photo gallery application for the web. In Piwigo 15.6.0, using the password reset function allows sending a password-reset URL by entering an existing username or email address. However, the hostname used to construct this URL is taken from the HTTP request's Host header and is not validated at all. Therefore, an attacker can send a password-reset URL with a modified hostname to an existing user whose username or email the attacker knows or guesses. This issue has been patched in version 15.7.0.

NVD (es)

Piwigo es una aplicación de galería de fotos de código abierto completa para la web. En Piwigo 15.6.0, usar la función de restablecimiento de contraseña permite enviar una URL de restablecimiento de contraseña al introducir un nombre de usuario o dirección de correo electrónico existente. Sin embargo, el nombre de host utilizado para construir esta URL se toma del encabezado Host de la solicitud HTTP y no se valida en absoluto. Por lo tanto, un atacante puede enviar una URL de restablecimiento de contraseña con un nombre de host modificado a un usuario existente cuyo nombre de usuario o correo electrónico el atacante conoce o adivina. Este problema ha sido parcheado en la versión 15.7.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-62406 changed 2025-11-19CVE Terms of Use
NVDCVE-2025-62406 changed 2026-10-19Public domain