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.
Threat Mapped score: 1.8
Industry: Finiancial
Threat priority: P4 - Informational (Low)
CVE: CVE-2009-2208
Operating system does not enforce permissions on an IOCTL that can be used to modify network settings.
CVE: CVE-2008-3831
Device driver does not restrict ioctl calls to its direct rendering manager.
CVE: CVE-2008-3525
ioctl does not check for a required capability before processing certain requests.
CVE: CVE-2008-0322
Chain: insecure device permissions allows access to an IOCTL, allowing arbitrary memory to be overwritten.
CVE: CVE-2007-4277
Chain: anti-virus product uses weak permissions for a device, leading to resultant buffer overflow in an exposed IOCTL.
CVE: CVE-2007-1400
Chain: sandbox allows opening of a TTY device, enabling shell commands through an exposed ioctl.
CVE: CVE-2006-4926
Anti-virus product uses insecure security descriptor for a device driver, allowing access to a privileged IOCTL.
CVE: CVE-1999-0728
Unauthorized user can disable keyboard or mouse by directly invoking a privileged IOCTL.
N/A
N/A
Phase | Note |
---|---|
Architecture and Design | N/A |
Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |
N/A