CVE-2002-0542
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.5% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- Openbsd 2.9
- Openbsd 3.0
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2002-0542.md and follow it. Check whether this project is affected by CVE-2002-0542. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://online.securityfocus.com/archive/1/267089
- http://www.iss.net/security_center/static/8818.php
- http://www.securityfocus.com/bid/4495
- http://online.securityfocus.com/archive/1/267089
- http://www.iss.net/security_center/static/8818.php
- http://www.securityfocus.com/bid/4495
References
- http://marc.info/?l=bugtraq&m=101855467811695&w=2
- http://online.securityfocus.com/archive/1/267089
- http://www.iss.net/security_center/static/8818.php
- http://www.openbsd.org/errata30.html#mail
- http://www.osvdb.org/5269
- http://www.securityfocus.com/bid/4495
- http://marc.info/?l=bugtraq&m=101855467811695&w=2
- http://online.securityfocus.com/archive/1/267089
- http://www.iss.net/security_center/static/8818.php
- http://www.openbsd.org/errata30.html#mail
- http://www.osvdb.org/5269
- http://www.securityfocus.com/bid/4495