Descrizione
A vulnerability has been found in stylefeng Guns up to 2.2. Affected by this issue is the function TokenAndPermissionInterceptor.preHandle of the file TokenAndPermissionInterceptor.java of the component JWT Signing. Such manipulation leads to use of hard-coded cryptographic key . It is possible to launch the attack remotely. The project was informed of the problem early through an issue report but has not responded yet.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.3.
Versioni da aggiornare
- stylefeng Guns: vulnerabile la versione
2.0→ installare l'ultima release supportata dal vendor. - stylefeng Guns: vulnerabile la versione
2.1→ installare l'ultima release supportata dal vendor. - stylefeng Guns: vulnerabile la versione
2.2→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ruotare credenziali e chiavi, limitare l'accesso di rete al servizio e verificare accessi effettuati con credenziali predefinite.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| stylefeng | Guns | 2.0 | — |
| stylefeng | Guns | 2.1 | — |
| stylefeng | Guns | 2.2 | — |
Riferimenti
- Riferimentohttps://github.com/stylefeng/Guns/
- Riferimentohttps://github.com/stylefeng/Guns/issues/117
- Riferimentohttps://vuldb.com/cve/CVE-2026-137660
- Riferimentohttps://vuldb.com/submit/1065874
- Riferimentohttps://vuldb.com/vuln/444501
- Riferimentohttps://vuldb.com/vuln/444501/cti