CVE-2003-0171 Command injection in n/a
Local attackers can execute arbitrary commands by manipulating the PATH environment variable to hijack the touch command in MacOS X DirectoryServices.
- 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-2003-0171?
CVE-2003-0171 is a high-severity command injection vulnerability in Apple Mac Os X, published on 15 Apr 2003. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
DirectoryServices in MacOS X trusts the PATH environment variable to locate and execute the touch command, which allows local users to execute arbitrary commands by modifying the PATH to point to a directory containing a malicious touch program.
Which versions are affected by CVE-2003-0171?
It affects 2 products.
Products include Apple Mac Os X, Apple Mac Os X Server.
How do I fix CVE-2003-0171?
No fix has been published for CVE-2003-0171 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-2003-0171 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0171 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as GHSA-5xwf-7w8g-23wm.