CVE-2005-4797 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can delete arbitrary files on Solaris systems via directory traversal in the lpd daemon's unlink command.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2005-4797?

CVE-2005-4797 is a medium-severity path traversal vulnerability in Sun Solaris, published on 5 May 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Which versions are affected by CVE-2005-4797?

It affects 2 products.

Products include Sun Solaris, Sun Sunos.

How do I fix CVE-2005-4797?

No fix has been published for CVE-2005-4797 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2005-4797 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-4797 exists.

Public exploit code: 1 Metasploit module.

All Sun Solaris vulnerabilities

Sources

Also known as GHSA-7cx8-j7qq-8w58.

Is CVE-2005-4797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free