CVE-1999-0491: Code Injection

Published Apr 20, 1999
·
Updated

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.

Affected Software

17 affected components
GNU Bash=1.14.3
GNU Bash=2.05-a
GNU Bash=2.05
GNU Bash=1.14.1
GNU Bash=2.01
GNU Bash=2.0
GNU Bash=2.01.1
GNU Bash=1.14.7
GNU Bash=1.14.6
GNU Bash=1.14.2
GNU Bash=1.14.4
GNU Bash=2.02.1
GNU Bash=1.14.5
GNU Bash=1.14.0
GNU Bash=2.02
GNU Bash<=2.04
GNU Bash=2.03

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Remove '.' and other user-writable directories from system and user PATHs. Ensure PATH entries are not writable by unprivileged users so attackers cannot create directories there with names matching commands.

    shell (PATH) user-writable path entries = remove
  2. Compensating control

    Restrict filesystem write permissions and use ACLs on directories that are searched for executables (system bin directories and any shared directories) to prevent local users from creating directories named like commands.

  3. Operational

    Audit filesystems for directories whose names match common commands that are owned or writable by unprivileged users; remove or quarantine any such directories and review logs for suspicious activity related to prompt parsing/command execution.

Event History

Apr 20, 1999
CVE Published
04:00 AM
Data Sourced
via NVD·04:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 2, 2000
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-1999-0491?

CVE-1999-0491 is considered to be a moderate severity vulnerability.

2

How do I fix CVE-1999-0491?

To fix CVE-1999-0491, users should upgrade to a patched version of GNU Bash beyond the affected versions.

3

Which software versions are affected by CVE-1999-0491?

CVE-1999-0491 affects GNU Bash versions 1.14.x and 2.05.

4

What type of attack does CVE-1999-0491 facilitate?

CVE-1999-0491 facilitates local users executing arbitrary commands as another user.

5

Can CVE-1999-0491 be exploited remotely?

CVE-1999-0491 is not directly exploitable remotely as it requires local user access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203