Privilege Escalation in BSD rcvtty
The rcvtty utility in BSD 3.0 and 4.0 fails to properly drop privileges before executing a user-supplied script. This allows a local attacker to specify a malicious script on the command line, which is then executed with elevated privileges, leading to privilege escalation.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker can execute arbitrary code with elevated privileges by supplying a Trojan horse script to rcvtty, potentially gaining unauthorized access or control over the system.
If you can’t patch tonight, do this now.
Restrict access to rcvtty to trusted users only, and monitor for unauthorized usage until a patch is applied. Consider removing the setuid bit or disabling the utility if not required.
Patch, then assume compromise.
Update rcvtty to a version that correctly drops privileges before executing any user-supplied scripts. Apply vendor patches addressing this issue.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.