Bug 768157 (CVE-2011-4612) - CVE-2011-4612 icecast2: Newline injection in error.log
Summary: CVE-2011-4612 icecast2: Newline injection in error.log
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2011-4612
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 768175 768176
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 21:53 UTC by Kurt Seifried
Modified: 2019-09-29 12:49 UTC (History)
3 users (show)

Fixed In Version: icecast 2.3.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-20 17:48:59 UTC


Attachments (Terms of Use)

Description Kurt Seifried 2011-12-15 21:53:42 UTC
A security bug was reported by Moritz Naumann against icecast in
Ubuntu. You are being emailed as the upstream contact. Please keep
oss-security@lists.openwall.com[1] CC'd for any updates on this issue.

This issue should be considered public and has not yet been assigned a
CVE.

Details from the public bug follow:
https://launchpad.net/bugs/894782

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%
0a[1970-01-01%20%2000:00:00]%20PHUN%20I'm%20feeling%20phunny%0d%
0a["`date "+%Y-%m-%d%%20%%20%H:%M:%S"`"]%20WARN%
20fserve/fserve_client_create%20req%20for%20file%
20"'"'"/usr/share/icecast2/web/ HTTP/1.0\n\n" | nc -vv 127.0.0.1 8000
> /dev/null
...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
issue.

[1] oss-security@lists.openwall.com is a public mailing list for
    people to collaborate on security vulnerabilities and coordinate
    security updates.

-- Jamie Strandboge | http://www.canonical.com

Comment 1 Vincent Danen 2011-12-15 22:44:51 UTC
Created icecast tracking bugs for this issue

Affects: fedora-all [bug 768175]
Affects: epel-5 [bug 768176]

Comment 2 Vincent Danen 2012-06-15 18:24:56 UTC
This is corrected in upstream 2.3.3 version (released June 11th):

http://www.icecast.org/

Comment 3 Murray McAllister 2014-02-11 05:45:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.