CVE-2002-1904

GazTek ghttpd 1.4-1.4.3 - Remote Code Execution via Long HTTP GET Request

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-1904. PoCs published by qitest1.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in GazTek HTTP Daemon v1.4 (ghttpd) to achieve remote code execution. It uses a crafted HTTP GET request with shellcode to overflow the buffer and execute arbitrary commands with the privileges of the webserver.

Description

Buffer overflow in the Log function in util.c in GazTek ghttpd 1.4 through 1.4.3 allows remote attackers to execute arbitrary code via a long HTTP GET request.

Exploits (1)

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

This exploit targets a buffer overflow vulnerability in GazTek HTTP Daemon v1.4 (ghttpd) to achieve remote code execution. It uses a crafted HTTP GET request with shellcode to overflow the buffer and execute arbitrary commands with the privileges of the webserver.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: GazTek HTTP Daemon v1.4 (ghttpd)
No auth needed
Prerequisites: Network access to the target server · Target server running GazTek HTTP Daemon v1.4
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/5960
Third Party Advisory vdb-entry x_refsource_xf
http://www.iss.net/security_center/static/10361.php
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://online.securityfocus.com/archive/1/295141

Scores

EPSS 0.0563
EPSS Percentile 91.9%

Details

Status published
Products (4)
gaztek/ghttpd 1.4
gaztek/ghttpd 1.4.1
gaztek/ghttpd 1.4.2
gaztek/ghttpd 1.4.3
Published Dec 31, 2002
Tracked Since Feb 18, 2026