Local privilege escalation via terminal ioctl injection
Published Mar 14, 2023 · Updated Feb 27, 2025
Privilege escalation in OpenDoas 6.8.2 and earlier allows local users to execute commands with the invoking user's privileges. Its command-launch path leaves the target process attached to the caller's controlling terminal, so TIOCSTI or TIOCLINUX can enqueue attacker-chosen bytes for the caller's shell. Exploitation requires an interactive shared terminal, permission to invoke a command as another user, and a kernel that permits the terminal ioctl.
Summary
What happened
Privilege escalation in OpenDoas 6.8.2 and earlier allows local users to execute commands with the invoking user's privileges. Its command-launch path leaves the target process attached to the caller's controlling terminal, so TIOCSTI or TIOCLINUX can enqueue attacker-chosen bytes for the caller's shell. Exploitation requires an interactive shared terminal, permission to invoke a command as another user, and a kernel that permits the terminal ioctl.
The record
- CVE
- CVE-2023-28339
- Published
- Mar 14, 2023
- Updated
- Feb 27, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-269, T1059.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 14, 2023CVE publishedPublication date reported by the CVE source.
- Feb 27, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- OpenDoas 6.8.2 TIOCSTI proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo