exporter-toolkit 存在身份验证绕过漏洞
漏洞描述 exporter-toolkit 是 Prometheus 的导出工具包, exporter-toolkit 为减少使用 bcrypt 哈希验证用户身份所需要的时间和资源,从而采用缓存 cacheKey = hex(username + hashed password + input password)验证用户身份信息。为了避免侧信道攻击,对于缓存中不存在的用户(validUser)采用固定 hashed password 进行缓存验证。 攻击者在已知散列密码(hashed password)的情况下可通过毒化缓存进行身份绕过: 发动请求毒化缓存: username = username+hashed password password = "fakepassword" 身份绕过: username = username password = bcrypt(fakepassword)+"fakepassword" Prometheus 是一个开源的系统和服务监控系统,目前在 GitHub 具有 45.7k stars,Prometheus 在 2.37.4 和 2.40.4 ...
