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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:Ivanti Endpoint Manager 代码问题漏洞 (CVE-2024-29847)
Description:Ivanti Endpoint Manager(EPM)是美国Ivanti公司的一套端点安全管理器。 Ivanti Endpoint Manager 2024版本和2022 SU5及之前版本存在代码问题漏洞,该漏洞源于不受信任数据的反序列化,允许远程未经身份验证的攻击者实现远程代码执行。
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. 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.