漏洞描述
Grafana instances up to 7.5.11 and 8.1.5 allow remote unauthenticated users to view the snapshot associated with the lowest database key by accessing the literal paths /api/snapshot/:key or /dashboard/snapshot/:key. If the snapshot is in public mode, unauthenticated users can delete snapshots by accessing the endpoint /api/snapshots-delete/:deleteKey. Authenticated users can also delete snapshots by accessing the endpoints /api/snapshots-delete/:deleteKey, or sending a delete request to /api/snapshot/:key, regardless of whether or not the snapshot is set to public mode (disabled by default).
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/advisories/GHSA-69j6-29vr-p3j9↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2021-39226↗github.comhttps://github.com/grafana/grafana/commit/2d456a6375855364d098ede379438bf7f0667269↗grafana.comhttps://grafana.com/docs/grafana/latest/release-notes/release-notes-8-1-6/↗www.openwall.comhttp://www.openwall.com/lists/oss-security/2021/10/05/4↗