Icecast Directory Traversal Vulnerability
BID:2932
Info
Icecast Directory Traversal Vulnerability
| Bugtraq ID: | 2932 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 26 2001 12:00AM |
| Updated: | Jun 26 2001 12:00AM |
| Credit: | This vulnerability was submitted to BugTraq on June 26th, 2001 by gollum <[email protected]> from Digit-Labs. |
| Vulnerable: |
Icecast Icecast 1.3.9 -2 Icecast Icecast 1.3.9 -1 Icecast Icecast 1.3.9 Icecast Icecast 1.3.8 beta2 Icecast Icecast 1.3.8 Icecast Icecast 1.3.7 -1 Icecast Icecast 1.3.7 Icecast Icecast 1.3.5 -1 Icecast Icecast 1.3.5 Icecast Icecast 1.3 .10 Icecast Icecast 1.3 .0 Icecast Icecast 1.1.4 Icecast Icecast 1.1.3 Icecast Icecast 1.1.2 Icecast Icecast 1.1.1 Icecast Icecast 1.1 .0 Icecast Icecast 1.0 .0 |
| Not Vulnerable: |
Icecast Icecast 1.3.10 -1 |
Discussion
Icecast Directory Traversal Vulnerability
Icecast is an open source audio-streaming server for both Unix and Microsoft Windows systems.
Icecast does not filter encoded characters from URLs when receiving web requests. If a remote attacker crafts a URL containing the ASCII equivalent of directory traversal characters, it is possible to escape Icecast's "root" directory. This will allow the attacker to view files readable by the ownership and group membership of the icecast server.
Icecast is an open source audio-streaming server for both Unix and Microsoft Windows systems.
Icecast does not filter encoded characters from URLs when receiving web requests. If a remote attacker crafts a URL containing the ASCII equivalent of directory traversal characters, it is possible to escape Icecast's "root" directory. This will allow the attacker to view files readable by the ownership and group membership of the icecast server.
Exploit / POC
Icecast Directory Traversal Vulnerability
GoLLuM.no <[email protected]> provided this example:
Mp3-files residing outside the Web catalog can be accessed by replacing ascii-values for each ".", thus using "/%2E%2E/" instead of "/../" will walk one folder downward.
Place a mp3-file named "test1.mp3" in the directory below the one you specified in the variable "staticdir".
Then write the following in your browser:
http://localhost:8000/file/../test1.mp3 - Will fail in getting the file
http://localhost:8000/file/%2E%2E/test1.mp3 - Will succeed in getting the file
GoLLuM.no <[email protected]> provided this example:
Mp3-files residing outside the Web catalog can be accessed by replacing ascii-values for each ".", thus using "/%2E%2E/" instead of "/../" will walk one folder downward.
Place a mp3-file named "test1.mp3" in the directory below the one you specified in the variable "staticdir".
Then write the following in your browser:
http://localhost:8000/file/../test1.mp3 - Will fail in getting the file
http://localhost:8000/file/%2E%2E/test1.mp3 - Will succeed in getting the file
Solution / Fix
Icecast Directory Traversal Vulnerability
Solution:
Vendor fixes available:
Icecast Icecast 1.0 .0
Icecast Icecast 1.1 .0
Icecast Icecast 1.1.1
Icecast Icecast 1.1.2
Icecast Icecast 1.1.3
Icecast Icecast 1.1.4
Icecast Icecast 1.3 .0
Icecast Icecast 1.3 .10
Icecast Icecast 1.3.5 -1
Icecast Icecast 1.3.5
Icecast Icecast 1.3.7 -1
Icecast Icecast 1.3.7
Icecast Icecast 1.3.8 beta2
Icecast Icecast 1.3.8
Icecast Icecast 1.3.9 -1
Icecast Icecast 1.3.9
Icecast Icecast 1.3.9 -2
Solution:
Vendor fixes available:
Icecast Icecast 1.0 .0
-
Debian icecast-server_1.3.10-1.1_i386.deb
http://security.debian.org/dists/stable/updates/main/binary-i386/iceca st-server_1.3.10-1.1_i386.deb -
Debian icecast-server_1.3.10-1_alpha.deb
http://security.debian.org/dists/stable/updates/main/binary-alpha/icec ast-server_1.3.10-1_alpha.deb -
Debian icecast-server_1.3.10-1_arm.deb
http://security.debian.org/dists/stable/updates/main/binary-arm/icecas t-server_1.3.10-1_arm.deb -
Debian icecast-server_1.3.10-1_m68k.deb
http://security.debian.org/dists/stable/updates/main/binary-m68k/iceca st-server_1.3.10-1_m68k.deb -
Debian icecast-server_1.3.10-1_powerpc.deb
http://security.debian.org/dists/stable/updates/main/binary-powerpc/ic ecast-server_1.3.10-1_powerpc.deb -
Debian icecast-server_1.3.10-1_sparc.deb
http://security.debian.org/dists/stable/updates/main/binary-sparc/icec ast-server_1.3.10-1_sparc.deb -
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.1 .0
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.1.1
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.1.2
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.1.3
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.1.4
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3 .0
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3 .10
-
Caldera icecast-1.3.12-1.i386.rpm
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1.1/Server/current/RPMS/ icecast-1.3.12-1.i386.rpm -
Caldera icecast-1.3.12-1.i386.rpm
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/RPMS/ic ecast-1.3.12-1.i386.rpm -
Caldera icecast-1.3.12-1.src.rpm
Source RPM.
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1.1/Server/current/SRPMS /icecast-1.3.12-1.src.rpm -
Caldera icecast-1.3.12-1.src.rpm
Source RPM.
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/SRPMS/i cecast-1.3.12-1.src.rpm -
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/icecast-1.3.12-1.i386. rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/icecast-1.3.12-1.i386. rpm
Icecast Icecast 1.3.5 -1
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.5
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.7 -1
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.7
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/icecast-1.3.12-1.i386. rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/icecast-1.3.12-1.i386. rpm
Icecast Icecast 1.3.8 beta2
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/icecast-1.3.12-1.alph a.rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/icecast-1.3.12-1.i386. rpm -
Red Hat icecast-1.3.12-1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/icecast-1.3.12-1.i386. rpm
Icecast Icecast 1.3.8
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.9 -1
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.9
-
Caldera icecast-1.3.12-1.i386.rpm
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1.1/Server/current/RPMS/ icecast-1.3.12-1.i386.rpm -
Caldera icecast-1.3.12-1.i386.rpm
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/RPMS/ic ecast-1.3.12-1.i386.rpm -
Caldera icecast-1.3.12-1.src.rpm
Source RPM.
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1.1/Server/current/SRPMS /icecast-1.3.12-1.src.rpm -
Caldera icecast-1.3.12-1.src.rpm
Source RPM.
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/SRPMS/i cecast-1.3.12-1.src.rpm -
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz
Icecast Icecast 1.3.9 -2
-
Icecast icecast-1.3.12.tar.gz
http://www.icecast.org/releases/icecast-1.3.12.tar.gz