CVE-2002-0163

Squid < 2.4_9 - Heap-Based Buffer Overflow via Compressed DNS Responses

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-0163. PoCs published by Teso.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in Squid's DNS resolver (CVE-2002-0163) to achieve remote code execution. It uses a crafted DNS response to overwrite the return address and execute shellcode, spawning a portshell on a specified port.

Description

Heap-based buffer overflow in Squid before 2.4 STABLE4, and Squid 2.5 and 2.6 until March 12, 2002 distributions, allows remote attackers to cause a denial of service, and possibly execute arbitrary code, via compressed DNS responses.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Teso · cremotelinux
https://www.exploit-db.com/exploits/347

This exploit targets a buffer overflow vulnerability in Squid's DNS resolver (CVE-2002-0163) to achieve remote code execution. It uses a crafted DNS response to overwrite the return address and execute shellcode, spawning a portshell on a specified port.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Squid 2.4.1 and related versions
No auth needed
Prerequisites: Network access to the vulnerable Squid resolver · Knowledge of the target's memory layout
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2002-051.html
Various Sources vendor-advisory x_refsource_mandrake
http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-027.php
Various Sources vendor-advisory x_refsource_caldera
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-017.1.txt
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=101716495023226&w=2
Third Party Advisory vdb-entry x_refsource_xf
http://www.iss.net/security_center/static/8628.php
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/4363
Various Sources x_refsource_confirm
http://www.squid-cache.org/Advisories/SQUID-2002_2.txt
Various Sources vendor-advisory x_refsource_freebsd
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-02:19.squid.asc

Scores

EPSS 0.1505
EPSS Percentile 96.3%

Details

Status published
Products (1)
squid/squid < 2.4_9
Published Mar 26, 2002
Tracked Since Feb 18, 2026