Privilege escalation in Gitblit
CVE-2022-31267
Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext 'attacker@example.com\n\trole = "#admin"' value.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.175 (97.1th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.175 · newest: 0.175 · change: 0.000
Affected products
- Gitblit — versions 1.9.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/gitblit/gitblit/issues/1410 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/gitblit/gitblit/releases/tag/v1.9.3 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-31267?
- CVE-2022-31267 is a critical-severity vulnerability in Gitblit, classified under Improper Privilege Management. CVSS score: 9.8/10. Published 2022-05-21.
- How severe is CVE-2022-31267?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-31267 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.