GHSA-RRWM-4WHX-CPCX
Reflected XSS in 2FA verify
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RRWM-4WHX-CPCX divulgada · CVSS 6.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Summary
There is a Reflected XSS vulnerability in Leantime v3.4.3 where an attacker can inject malicious JavaScript code through the `redirect` parameter in the Two-Factor Authentication verification page.
### Details
The vulnerability exists in the 2FA verification page where the `redirect` parameter is reflected without proper escaping at:
https://github.com/Leantime/leantime/blob/v3.4.3/app/Domain/TwoFA/Templates/verify.tpl.php#L15
### PoC
1. Enable Two-Factor Authentication in Leantime
2. Visit the following URL:
http://localhost/twoFA/verify?redirect="></script><script>alert('XSS')</script>- The JavaScript code will execute immediately
### Impact
- Type: Reflected Cross-Site Scripting (XSS)
- Affected: Users with 2FA enabled
- Risk:
- Session hijacking
- Arbitrary JavaScript execution
- Potential for phishing attacks during 2FA verification
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistleantime/leantime |
Corregida | 3.8.0 | — | — |
3.8.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/Leantime/leantime/security/advisories/GHSA-rrwm-4whx-cpcxLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
