GHSA-3GH2-GGC9-C8G8
Unsupported S3 bucket-policy conditions make Allow statements unconditional
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3GH2-GGC9-C8G8 divulgada · CVSS 7.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
### Summary
SeaweedFS fails open on unsupported S3 bucket-policy condition operators. An unauthenticated attacker can bypass a nonmatching condition and read private objects; an explicit empty-permission anonymous identity can also permit writes and deletion.
### Details
Policy validation accepts unknown operators. GetConditionEvaluator returns an error for StringEqualsIgnoreCase, but EvaluateConditions skips the error and ultimately returns true, making the conditional Allow unconditional: source https://github.com/seaweedfs/seaweedfs/blob/d997fba1575583a89cf0cc50dc0150642286c86d/weed/s3api/policy_engine/conditions.go#L643-L755
### PoC
On SeaweedFS 4.46, create a private object and apply a wildcard-principal s3:GetObject policy conditioned on StringEquals: {"aws:username":"alice"}. An anonymous GET returns 403. Change only StringEquals to StringEqualsIgnoreCase, reapply the policy, and repeat the same GET: it returns 200 with the exact private object bytes. Restoring StringEquals restores the 403. Full runnable commands are in the linked local draft.
### Impact
Unauthenticated confidentiality bypass affecting private bucket inventory and objects: 7.5 High. With an explicit anonymous identity configured with actions: [], testing also reproduced unauthenticated LIST, GET, PUT, and DELETE, reaching Critical impact.
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 |
|---|---|---|---|---|
Gogithub.com/seaweedfs/seaweedfs |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-3gh2-ggc9-c8g8Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
