💰💰 TryHackMe Billing writeup | MagnusBilling RCE| CVE-2023-30258 | Fail2ban

💰 Some mistakes can be costly.

TryHackMe Billing walk through
TryHackMe Billing writeup

💰 In this video, we tackle the TryHackMe “Billing” room, showcasing how to exploit a critical vulnerability to gain root access. We start with an initial scan, revealing MagnusBilling running on port 80. A quick search highlights CVE-2023-30258, an unauthenticated Remote Command Execution (RCE) vulnerability, providing a direct path to a foothold.

💰 We demonstrate two methods for exploiting CVE-2023-30258:

* **Metasploit Module:** We’ll show you how to quickly leverage the magnusbilling_unauth_rce_cve_2023_30258 module for rapid shell access. Simply configure your LHOST and RHOST, and you’re in!
* **Python Script:** For those who prefer a hands-on approach, we’ll walk through a custom Python script, providing full control over the exploit.

Both methods grant us a shell as the asterisk user. However, the journey doesn’t end there. We’ll then dive into the privilege escalation phase, demonstrating how to leverage fail2ban-client to elevate our privileges and achieve root access.

This video covers:

📌 Initial reconnaissance of the “Billing” machine.
📌 Identifying and understanding CVE-2023-30258.
📌 Exploiting MagnusBilling RCE using Metasploit and a Python script.
📌 Gaining a shell as the asterisk user.
📌 Privilege escalation through fail2ban-client.
📌 TryHackMe billing room walkthrough.

Whether you’re a beginner or an experienced cybersecurity enthusiast, this walkthrough provides valuable insights into exploiting real-world vulnerabilities.

Timestamps:
📌 [00:16] Initial Reconnaissance
📌 [00:57] CVE-2023-30258
📌 [01:13] Metasploit Exploitation
📌 [02:08] Python Script Exploitation
📌 [03:07] Initial Shell Access
📌 [07:16] Recover Magnusbilling password
📌 [12:00] Privilege Escalation
📌 [16:54] Root Access Achieved

💰💰 Relevant Links:💰💰

✅ room link:
https://tryhackme.com/room/billing

✅ MagnusBilling application unauthenticated Remote Command Execution
https://www.rapid7.com/db/modules/exploit/linux/http/magnusbilling_unauth_rce_cve_2023_30258/

✅ Magnus Billing 6.X and 7.X CVE-2023-30258 (Python script)
https://github.com/hadrian3689/magnus_billing_rce

👍 Like, Subscribe, and Comment to stay updated with our latest cybersecurity tutorials. If you have any questions or need further clarification on any concept, feel free to drop a comment below!

👍 these tutorials are for educational purposes and to encourage responsible and legal use of hacking knowledge.

Don’t forget to like, comment, and subscribe for more cybersecurity walkthroughs!

#TryHackMe #Billing #CVE202330258 #MagnusBilling #RCE #Fail2ban #Cybersecurity #EthicalHacking #Writeup #Metasploit #Python #TryHackMeWalkthrough #TryHackMeRoom #CyberSecurity #HackingTutorial #SecurityExploits #PenetrationTesting #InfoSec #MagnusBilling #CTF