Descrizione
SiYuan before 3.8.9 contains an information disclosure vulnerability that allows authenticated Reader users to retrieve credential-named widget files by bypassing the sensitive-path guard in getFile. Attackers can request paths like /data/widgets/<package>/credentials.json for publish-referenced widgets to obtain API keys, tokens, or other stored secrets.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.7, EPSS 0.4% (percentile 30).
Versioni da aggiornare
- siyuan-note siyuan: vulnerabili le versioni precedenti alla
3.8.9→ aggiornare alla3.8.9o successiva. - siyuan-note siyuan: versione corretta
3.8.9(o successiva).
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Verificare quali dati risultano esposti e ruotare eventuali segreti (token, password, chiavi) potenzialmente compromessi.
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 |
|---|---|---|---|
| siyuan-note | siyuan | < 3.8.9 | 3.8.9 |
| siyuan-note | siyuan | — | 3.8.9 |
Riferimenti
- Riferimentohttps://github.com/siyuan-note/siyuan/commit/d122dee55e8d3c77de313d0ad6efae8b6b0ebc07
- Riferimentohttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-3pm7-cc76-7j2p
- Riferimentohttps://www.vulncheck.com/advisories/siyuan-before-3.8.9-sensitive-file-disclosure-via-api-file-getfile
- Riferimentohttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-3pm7-cc76-7j2p