Skip to content
RCE Write-up Intermediate

Exploiting Poorly Secured Media Server Recon To Backdoor

The Icecast media server on port 8000 is vulnerable to a buffer overflow (CVE-2004-1561) that allows remote code execution via a large number of HTTP headers. An attacker could exploit this to gain initial access, then bypass UAC and dump credentials to fully compromise the Windows machine.

Ali AK Follow

Published on infosecwriteups.com

Target is blocking the ICMP echo request (Packets)so use other scan types to simply bypass this rule after that scan all the active TCP ports, Services running on that ports and other helpful information for later Phases.

Ali AK, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Icecast server does not properly check the size of HTTP headers, leading to a buffer overflow.

Impact

An attacker could execute arbitrary code on the server, bypass User Account Control, and obtain clear-text passwords, leading to full system compromise.

What the attacker needed

Network access to Icecast on port 8000; Metasploit or exploit code

The fix

The vulnerability should be fixed by upgrading Icecast to a version later than 2.0.1, as the text implies the exploit affects versions up to 2.0.1.

How it was found

  1. Scan the target with nmap to find open ports and services.
  2. Identify Icecast running on port 8000 and research its vulnerabilities.
  3. Use Metasploit's exploit module for CVE-2004-1561, setting RHOST, LHOST, and a payload.
  4. Launch the exploit to obtain a Meterpreter shell.
  5. Use a UAC bypass exploit (bypassuac_eventvwr) to gain elevated privileges.
  6. Migrate to a suitable process and use Mimikatz (Kiwi) to dump passwords.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The Icecast media server has an old bug where sending too many HTTP headers overflows a memory buffer, letting an attacker run their own code on the server. This gives them a foothold, and then they can use other tools to get administrator rights and steal passwords.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Ali AK

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.