CVE-1999-0491 Command injection in n/a

Medium 4.6 Published Updated

A local attacker can execute arbitrary commands as another user by creating a directory with a specific name, leading to privilege escalation.

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-1999-0491?

CVE-1999-0491 is a medium-severity command injection vulnerability in n/a, published on 2 Jun 2000. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The prompt parsing in bash allows a local user to execute commands as another user by creating a directory with the name of the command to execute.

Weakness: CWE-94

Which versions are affected by CVE-1999-0491?

It affects 1 product.

Products include Gnu Bash.

How do I fix CVE-1999-0491?

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

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

Is CVE-1999-0491 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-fxcm-gf29-76g5.

Is CVE-1999-0491 in your software?

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

Check your SBOMs for free