CVE-2005-4797

Solaris 7-10 - Unauthenticated Directory Traversal and Arbitrary File Deletion via LPD Unlink Command

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2005-4797. PoCs published by hdm, including Metasploit module auxiliary/dos/solaris/lpd/cascade_delete.

AI-analyzed exploit summary This Metasploit module exploits a vulnerability in the Solaris line printer daemon (LPD) to delete arbitrary files on affected systems. It leverages a cascaded job request to manipulate file paths and delete targeted files, tested on Solaris 2.6 through 10.

Description

Directory traversal vulnerability in printd line printer daemon (lpd) in Solaris 7 through 10 allows remote attackers to delete arbitrary files via ".." sequences in an "Unlink data file" command.

Exploits (1)

metasploit WORKING POC
by hdm · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/solaris/lpd/cascade_delete.rb

This Metasploit module exploits a vulnerability in the Solaris line printer daemon (LPD) to delete arbitrary files on affected systems. It leverages a cascaded job request to manipulate file paths and delete targeted files, tested on Solaris 2.6 through 10.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Moderate
Reliability
Reliable
Target: Solaris LPD (Line Printer Daemon)
No auth needed
Prerequisites: Network access to the target's LPD service (port 515)
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/21773
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2005/1342
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/16367
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/18650
Patch vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1014635
Patch vendor-advisory x_refsource_sunalert
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101842-1
Patch, Vendor Advisory third-party-advisory government-resource x_refsource_ciac
http://www.ciac.org/ciac/bulletins/p-280.shtml
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/14510

Scores

EPSS 0.7327
EPSS Percentile 98.8%

Details

Status published
Products (6)
sun/solaris 7.0
sun/solaris 8.0
sun/solaris 9.0 (3 CPE variants)
sun/solaris 10.0 (2 CPE variants)
sun/sunos 5.7
sun/sunos 5.8
Published Dec 31, 2005
Tracked Since Feb 18, 2026