漏洞描述
GitLab CE/EE contains a hard-coded credentials vulnerability. A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. OAuth, LDAP, SAML), allowing attackers to potentially take over accounts. This template attempts to passively identify vulnerable versions of GitLab without the need for an exploit by matching unique hashes for the application-<hash>.css file in the header for unauthenticated requests. Positive matches do not guarantee exploitability. Affected versions are 14.7 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
gitlab.comhttps://gitlab.com/gitlab-com/gl-security/threatmanagement/redteam/redteam-public/cve-hash-harvester↗gitlab.comhttps://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1162.json↗cve.mitre.orghttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1162↗packetstormsecurity.comhttp://packetstormsecurity.com/files/166828/Gitlab-14.9-Authentication-Bypass.html↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/cve-2022-1162↗