GHSA-87VJ-G9H8-7GCJ
Stored XSS in 2FA secret
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-87VJ-G9H8-7GCJ divulgada · CVSS 3.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Summary
There is a Stored XSS vulnerability in Leantime v3.4.3 where an attacker can inject malicious JavaScript code through the `secret` field in the Two-Factor Authentication settings page.
### Details
The vulnerability exists in the 2FA settings page where the `secret` value is stored without proper sanitization and later displayed unescaped at:
https://github.com/Leantime/leantime/blob/v3.4.3/app/Domain/TwoFA/Templates/edit.tpl.php#L30
### PoC
1. Navigate to 2FA settings page
2. Fill in the code field
3. Intercept the request with Burp Suite
4. Modify the `secret` parameter with payload:
"><script>alert(document.cookie)</script>- Send the modified request
- Revisit the 2FA settings page
- The JavaScript code will execute
### Impact
- Type: Stored Cross-Site Scripting (XSS)
- Affected: Users accessing 2FA settings page
- Risk:
- Session hijacking
- Arbitrary JavaScript execution
- Potential compromise of 2FA security settings
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-87vj-g9h8-7gcjLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
