CVE-2004-0157 Path traversal in n/a

Medium 4.6 Published Updated

Local attackers can execute arbitrary code by placing a malicious rmail program in the current working directory of the Xonix game.

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

What is CVE-2004-0157?

CVE-2004-0157 is a medium-severity path traversal vulnerability in n/a, published on 17 Apr 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

x11.c in xonix 1.4 and earlier uses the current working directory to find and execute the rmail program, which allows local users to execute arbitrary code by modifying the path to point to a malicious rmail program.

Which versions are affected by CVE-2004-0157?

It affects 1 product.

Products include Xonix Xonix.

How do I fix CVE-2004-0157?

Apply the vendor's patch.

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

Is CVE-2004-0157 being exploited?

There is no known exploitation of CVE-2004-0157 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2004-0157, DSA-484, GHSA-c98c-vg9g-2g99.

Is CVE-2004-0157 in your software?

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

Check your SBOMs for free