CVE-2002-0542 Privilege escalation in n/a
Local attackers can gain root privileges by exploiting tilde escape processing in the mail utility when invoked via cron.
- 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-2002-0542?
CVE-2002-0542 is a high-severity vulnerability in Openbsd Openbsd, published on 2 Apr 2003. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
mail in OpenBSD 2.9 and 3.0 processes a tilde (~) escape character in a message even when it is not in interactive mode, which could allow local users to gain root privileges via calls to mail in cron.
Which versions are affected by CVE-2002-0542?
It affects 1 product.
Products include Openbsd Openbsd.
How do I fix CVE-2002-0542?
No fix has been published for CVE-2002-0542 yet. Limit exposure of the affected software until one is available.
Is CVE-2002-0542 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-0542 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Openbsd Openbsd
Sources
Also known as GHSA-2r4p-jx45-wqw6.