GHSA-82W8-65QW-GCH6
ALTCHA PHP: verifySolution bypasses HMAC signature check when challenge signature is absent
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-82W8-65QW-GCH6 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In altcha-org/altcha v2, the verifySolution method skips HMAC signature verification when the signature field is absent from the challenge payload, even when hmacSignatureSecret is configured.
An attacker who strips the signature key from the challenge JSON passes the condition as false, bypassing tamper-detection entirely. The PoW solution check then runs against unverified parameters — allowing an attacker to self-issue a low-difficulty challenge, solve it trivially, and submit a payload that verifies as true.
Impact:
Complete CAPTCHA bypass on any deployment that sets hmacSignatureSecret (the recommended production configuration).
Fix:
The check was split so that a missing signature is explicitly rejected when a secret is configured.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistaltcha-org/altcha |
Corregida | 2.0.3 | — | — |
2.0.3Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/altcha-org/altcha-lib-php/security/advisories/GHSA-82w8-65qw-gch6https://github.com/altcha-org/altcha-lib-php/commit/8b02ad2c9b82998613bac4d093517d457061cbbehttps://github.com/altcha-org/altcha-lib-phphttps://github.com/altcha-org/altcha-lib-php/releases/tag/v2.0.3Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
