CVE-2004-1185 Command injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary commands via crafted filenames due to insufficient sanitization in Enscript.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-1185?

CVE-2004-1185 is a high-severity command injection vulnerability in n/a, published on 29 Jan 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Enscript 1.6.3 does not sanitize filenames, which allows remote attackers or local users to execute arbitrary commands via crafted filenames.

Which versions are affected by CVE-2004-1185?

It affects 1 product.

Products include Gnu Enscript.

How do I fix CVE-2004-1185?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2004-1185 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-1185, GHSA-8xcw-4f7q-cw3g.

Is CVE-2004-1185 in your software?

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

Check your SBOMs for free