CVE-2009-0854: OS Command Injection

Published Mar 11, 2009
·
Updated

Untrusted search path vulnerability in dash 0.5.4, when used as a login shell, allows local users to execute arbitrary code via a Trojan horse .profile file in the current working directory.

Affected Software

1 affected component
Dash dash=0.5.4

Event History

Mar 11, 2009
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:19 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using dash 0.5.4 as a login shell are exposed when a local user can cause a login session to start in a directory containing an attacker-controlled .profile file.

2

What does an attacker need to exploit it?

The attacker needs local access and the ability to place a Trojan horse .profile file in the current working directory used when the affected dash login shell starts. No authentication is required according to the supplied vector.

3

Is the default dash configuration affected?

The provided information identifies the vulnerable condition specifically as dash 0.5.4 being used as a login shell. It does not establish whether dash is configured as a login shell by default on a particular system.

4

What can be done if patching is not immediately possible?

Avoid using the affected dash version as a login shell, and prevent login sessions from starting in directories writable by untrusted users. Review and remove untrusted .profile files from login working directories.

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