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

Goal: 1000 CNY · Raised: 1020 CNY

100%

CVE-2024-29847 PoC — Ivanti Endpoint Manager 代码问题漏洞

Source
Associated Vulnerability
Title:Ivanti Endpoint Manager 代码问题漏洞 (CVE-2024-29847)
Description:Deserialization of untrusted data in the agent portal of Ivanti EPM before 2022 SU6, or the 2024 September update allows a remote unauthenticated attacker to achieve remote code execution.
Description
Ivanti EPM AgentPortal RCE Vulnerability
Readme
# CVE-2024-29847
POC for CVE-2024-29847 affecting Ivanti EPM.

## Technical Analysis
A technical root cause analysis of the vulnerability can be found on our blog:
https://www.horizon3.ai/attack-research/attack-blogs/cve-2024-29847-deep-dive-ivanti-endpoint-manager-agentportal-deserialization-of-untrusted-data-remote-code-execution-vulnerability

## Summary
This POC abuses a vulnerability in `AgentPortal.exe` to execute arbitrary commands. In order for this POC to work, you
must provide your own references to `AgentPortal.exe` and `APCommon.dll` from an Ivanti EPM installation.

## Usage
```plaintext
CVE-2024-29847.exe 192.168.1.21 49668 whoami.exe
Sending request.
Request result: True
Waiting for result.
Waiting for result.
Result: nt authority\system
```

## Mitigations
Update to the latest version or mitigate by following the instructions within the Ivanti Advisory
* https://forums.ivanti.com/s/article/Security-Advisory-EPM-September-2024-for-EPM-2024-and-EPM-2022?language=en_US

## Follow the Horizon3.ai Attack Team on Twitter for the latest security research:
*  [Horizon3 Attack Team](https://twitter.com/Horizon3Attack)
*  [James Horseman](https://twitter.com/JamesHorseman2)
*  [Zach Hanley](https://twitter.com/hacks_zach)

## Disclaimer
This software has been created purely for the purposes of academic research and for the development of effective defensive techniques, and is not intended to be used to attack systems except where explicitly authorized. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.
File Snapshot

[4.0K] /data/pocs/31c58e35fd95b7e32c8b23ce7ab903f5f30868ce ├── [4.0K] CVE-2024-29847 │   ├── [2.8K] CVE-2024-29847.csproj │   ├── [1.8K] Program.cs │   └── [4.0K] Properties │   └── [1.3K] AssemblyInfo.cs ├── [ 797] CVE-2024-29847.sln └── [1.5K] README.md 2 directories, 5 files
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 →