
Python exploit for CVE-2025-49113,通过在文件上传功能中进行 PHP 对象反序列化,在 Roundcube 网络邮件上实现远程代码执行。
一款针对 CVE-2025-49113 的 Python 利用工具,利用 Roundcube webmail 中的一个漏洞,通过 PHP 对象反序列化实现远程代码执行。
该利用工具利用了 Roundcube 文件上传功能中的一个反序列化漏洞。它通过构造 GPG 配置 payload 在目标服务器上实现远程代码执行。
python exploit.py -t <target_url> -u <username> -p <password> -c <command>
-t, --target: 目标 Roundcube 基础 URL(例如 http://example.com/roundcube)-u, --user: 有效用户名用于认证-p, --password: 指定用户的密码-c, --command: 要在目标服务器上执行的 Shell 命令python exploit.py -t http://target.com/roundcube -u [email] -p [password] -c "whoami"
该利用工具针对 Crypt_GPG_Engine 类的反序列化漏洞:
此工具仅供教育和授权安全测试使用。仅在你拥有或已获得明确测试许可的系统上使用此利用工具。未经授权访问计算机系统是非法的。
此代码仅供教育目的提供。请负责任地使用,并遵守适用法律法规。