Exploiting XXE Vulnerabilities on Microsoft SharePoint Server and Cloud via Confused URL Parsing# CVE-2024-30043-XXE
# Credit
The impact of the vulnerability is limited at present, but thanks to https://x.com/chudyPB for providing a clever bypass idea.
>https://x.com/chudyPB
> https://www.zerodayinitiative.com/blog/2024/5/29/cve-2024-30043-abusing-url-parsing-confusion-to-exploit-xxe-on-sharepoint-server-and-cloud
>https://x.com/chudyPB/status/1797707100421751007
# Usage
change these:

```shell
pip install requests requests_ntlm flask
python CVE-2024-30043-XXE.py
```
test on `Microsoft Sharepoint Server 2019`(`16.0.10409.20027`):

[4.0K] /data/pocs/525da2cb343431e124a06f839f3a942804055629
├── [6.4K] CVE-2024-30043-XXE.py
└── [ 727] README.md
0 directories, 2 files