Exploit database

Vulnerability

CVE-2004-1561

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

Buffer overflow in Icecast 2.0.1 and earlier allows remote attackers to execute arbitrary code via an HTTP request with a large number of headers.

CVE Program

Exploit source choices

5 sources
Icecast Header Overwrite
MSF-windows--http--icecast_headerMetasploitWindows / remote

This module exploits a buffer overflow in the header parsing of icecast versions 2.0.1 and earlier, discovered by Luigi Auriemma. Sending 32 HTTP headers will cause a write one past the end of a pointer array. On win32 this happens to overwrite the saved instruction pointer, and on linux (depending on compiler, etc) this seems to generally overwrite nothing crucial (read not exploitable). This exploit uses ExitThread(), this will leave icecast thinking the thread is still in use, and the thread counter won't be decremented. This means for each time your payload exits, the counter will be left incremented, and eventually the threadpool limit will be maxed. So you can multihit, but only till you fill the threadpool.

2004-09-28icecast_header.rb
ivanitlearning/cve-2004-1561
GH-2b25deb9e31da9f03dff3131bdbc3ea5GitHubUnofficial GitHub source

Icecast Header Overwrite buffer overflow RCE < 2.0.1 (Win32)

2020-03-272 files · 7 stars