CVE-2004-2686 Path traversal in n/a

High 7.2 Published Updated

Local attackers can exploit a directory traversal flaw in Solaris to load arbitrary kernel modules, leading to privilege escalation and code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2004-2686?

CVE-2004-2686 is a high-severity path traversal vulnerability in Sun Solaris, published on 23 Sep 2007. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Directory traversal vulnerability in the vfs_getvfssw function in Solaris 2.6, 7, 8, and 9 allows local users to load arbitrary kernel modules via crafted (1) mount or (2) sysfs system calls. NOTE: this might be the same issue as CVE-2004-1767, but there are insufficient details to be sure.

Weakness: CWE-22

Which versions are affected by CVE-2004-2686?

It affects 2 products.

Products include Sun Solaris, Sun Sunos.

How do I fix CVE-2004-2686?

No fix has been published for CVE-2004-2686 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-2004-2686 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Sun Solaris vulnerabilities

Sources

Also known as GHSA-w8j7-864p-92c6.

Is CVE-2004-2686 in your software?

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

Check your SBOMs for free