3proxy: Denial of Service

Security Team  Contact Address

Updated November 08, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-13 / 3proxy
Release Date November 08, 2007
Latest Revision November 08, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-proxy/3proxy < 0.5.3j >= 0.5.3j All supported architectures

Related bugreports: #196772

Synopsis

A vulnerability has been discovered in 3proxy, possibly resulting in a Denial of Service.

2.  Impact Information

Background

3proxy is a really tiny cross-platform proxy servers set, including HTTP, HTTPS, FTP, SOCKS and POP3 support.

Description

3proxy contains a double free vulnerability in the ftpprchild() function, which frees param->hostname and calls the parsehostname() function, which in turn attempts to free param->hostname again.

Impact

A remote attacker could send a specially crafted request to the proxy, possibly resulting in a Denial of Service. Under typical configuration, the scope of this vulnerability is limited to the local network.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All 3proxy users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-proxy/3proxy-0.5.3j"

4.  References