CVE-2004-1488

GNU wget 1.8.x-1.9.x - Remote Code Execution via Terminal Escape Sequence Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2004-1488. PoCs published by Jan Minar.

AI-analyzed exploit summary This exploit leverages a directory traversal vulnerability in GNU wget (CVE-2004-1488) to overwrite arbitrary files on the target system. It uses a malicious HTTP server to serve a crafted response that tricks wget into writing a payload to a specified file, potentially leading to remote code execution.

Description

wget 1.8.x and 1.9.x does not filter or quote control characters when displaying HTTP responses to the terminal, which may allow remote malicious web servers to inject terminal escape sequences and execute arbitrary code.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Jan Minar · perlremotelinux
https://www.exploit-db.com/exploits/24813

This exploit leverages a directory traversal vulnerability in GNU wget (CVE-2004-1488) to overwrite arbitrary files on the target system. It uses a malicious HTTP server to serve a crafted response that tricks wget into writing a payload to a specified file, potentially leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: GNU wget (versions prior to fix for CVE-2004-1488)
No auth needed
Prerequisites: Victim must connect to a malicious server using wget · Attacker must control a server to serve malicious HTTP responses
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/20960
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2005-771.html
Exploit, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/11871
Mailing List mailing-list x_refsource_bugtraq
http://marc.info/?l=bugtraq&m=110269474112384&w=2
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/145-1/
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2006_16_sr.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/18421
Exploit, Vendor Advisory x_refsource_misc
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261755
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9750
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1012472

Scores

EPSS 0.1192
EPSS Percentile 95.6%

Details

Status published
Products (5)
gnu/wget 1.8
gnu/wget 1.8.1
gnu/wget 1.8.2
gnu/wget 1.9
gnu/wget 1.9.1
Published Apr 27, 2005
Tracked Since Feb 18, 2026