CVE-2022-31267
9.8critical
Unescaped control characters in Gitblit
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.81% (higher than 79% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-fh55-vwjc-69c7
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.gitblit:gitblit (Maven) | before 1.9.3 | GitHub Advisory Database |
| gitblit gitblit | 1.9.2 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Gitblit versión 1.9.2 permite la escalada de privilegios por medio del servicio de configuración de usuarios: puede colocarse un carácter de control en un campo de datos del perfil, como un valor de emailAddress%3Atext "attacker@example.com\n\trole = "#admin"'
References
| https://github.com/gitblit/gitblit/issues/1410 | exploit, issue-tracking, third-party-advisory, web | |
| https://github.com/gitblit/gitblit/releases/tag/v1.9.3 | release-notes, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31267 | advisory | |
| https://github.com/gitblit/gitblit/commit/9b4afad6f4be212474809533ec2c280cce86501a | web | |
| https://github.com/gitblit/gitblit | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31267 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fh55-vwjc-69c7 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31267 changed 2026-06-17 | Public domain |