CVE-2003-0124 Command injection in n/a
Attackers can execute arbitrary code by tricking users into viewing a malformed man page, leading to local privilege escalation or system compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2003-0124?
CVE-2003-0124 is a medium-severity command injection vulnerability in n/a, published on 1 Sep 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
man before 1.5l allows attackers to execute arbitrary code via a malformed man file with improper quotes, which causes the my_xsprintf function to return a string with the value "unsafe," which is then executed as a program via a system call if it is in the search path of the user who runs man.
Which versions are affected by CVE-2003-0124?
It affects 1 product.
Products include Andries Brouwer Man.
How do I fix CVE-2003-0124?
No fix has been published for CVE-2003-0124 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-0124 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0124 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as GHSA-g437-46q6-xq6v.