DEATHESTHER
← All write-ups

TRYHACKME WRITE-UP

Nax - TryHackMe writeup

Identify the critical security flaw in the most powerful and trusted network monitoring software on the market, that allows an authenticated user to execute remote code execution.

MediumLinuxCVE-0000-0000Metasploit8 min read

Open the room on TryHackMe ↗ View on GitHub

Task 1. Flag

Are you able to complete the challenge?

What hidden file did you find?

PI3T.Png

Who is the creator of the file?

Piet Mondrian

If you get an error running the tool on your downloaded image about an unknown ppm format -- open it with gimp or another paint program and export to ppm format, and try again!

No answer needed

What is the username you found?

nagiosadmin

What is the password you found?

n3p3UQ&9BjLp4$7uhWdY

What is the CVE number for this vulnerability? This will be in the format: CVE-0000-0000

CVE-2019-15949

Now that we've found our vulnerability, let's find our exploit. For this section of the room, we'll use the Metasploit module associated with this exploit. Let's go ahead and start Metasploit using the command msfconsole.

No answer needed

After Metasploit has started, let's search for our target exploit using the command 'search applicationame'. What is the full path (starting with exploit) for the exploitation module?

exploit/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce

Compromise the machine and locate user.txt

THM{84b17add1d72a9f2e99c33bc568ae0f1}

Locate root.txt

THM{c89b2e39c83067503a6508b21ed6e962}