CWE-782 - Exposed IOCTL with Insufficient Access Control
- 摘要:Variant
- 结构:Simple
- 状态:Draft
- 发布日期:2009-07-27
- 更新日期:2025-12-11
名称
Exposed IOCTL with Insufficient Access Control
描述
The product implements an IOCTL with functionality that should be restricted, but it does not properly enforce access control for the IOCTL.
When an IOCTL contains privileged functionality and is exposed unnecessarily, attackers may be able to access this functionality by invoking the IOCTL. Even if the functionality is benign, if the programmer has assumed that the IOCTL would only be accessed by a trusted process, there may be little or no validation of the incoming data, exposing weaknesses that would never be reachable if the attacker cannot call the IOCTL directly. The implementations of IOCTLs will differ between operating system types and versions, so the methods of attack and prevention may vary widely.
常见后果
范围:Integrity, Availability, Confidentiality
影响:Varies by Context
注释:Attackers can invoke any functionality that the IOCTL offers. Depending on the functionality, the consequences may include code execution, denial-of-service, and theft of data.