Client-side code injection in Gitlab Community Edition and GitLab Enterprise Edition - #VU28332
Published: May 29, 2020
Vulnerability identifier: #VU28332
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted Mermaid payload and perform PUT requests on behalf of other users when clicking on a link.
Affected software
Gitlab Community Edition
GitLab Enterprise Edition
GitLab Enterprise Edition
Remediation
Install updates from vendor's website.
Gitlab Community Edition - addressed in versions 12.9.8, 12.10.7, 13.0.1
GitLab Enterprise Edition - addressed in versions 12.9.8, 12.10.7, 13.0.1
GitLab Enterprise Edition - addressed in versions 12.9.8, 12.10.7, 13.0.1