Enhancement: cves/2022/CVE-2022-1162.yaml by md

patch-1
MostInterestingBotInTheWorld 2023-04-06 17:37:02 -04:00
parent 3a25625a6d
commit c3dab25d75
1 changed files with 6 additions and 2 deletions

View File

@ -1,14 +1,16 @@
id: CVE-2022-1162 id: CVE-2022-1162
info: info:
name: GitLab CE/EE - Hardcoded password name: GitLab CE/EE - Hard-Coded Credentials
author: GitLab Red Team author: GitLab Red Team
severity: critical severity: critical
description: A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. OAuth, LDAP, SAML) in GitLab CE/EE versions 14.7 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2 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. Tooling to find relevant hashes based on the semantic version ranges specified in the CVE is linked in the references section below. description: 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.
remediation: Tooling to find relevant hashes based on the semantic version ranges specified in the CVE is linked in the references section below.
reference: reference:
- https://gitlab.com/gitlab-com/gl-security/threatmanagement/redteam/redteam-public/cve-hash-harvester - https://gitlab.com/gitlab-com/gl-security/threatmanagement/redteam/redteam-public/cve-hash-harvester
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1162.json - https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-1162.json
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1162 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1162
- https://nvd.nist.gov/vuln/detail/cve-2022-1162
classification: classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8 cvss-score: 9.8
@ -41,3 +43,5 @@ requests:
group: 1 group: 1
regex: regex:
- '(?:application-)(\S{64})(?:\.css)' - '(?:application-)(\S{64})(?:\.css)'
# Enhanced by md on 2023/04/06