CWE-782: Exposed IOCTL with Insufficient Access Control
52 CVEs have CWE-782 as their primary weakness. 1 of them are in the CISA KEV catalog. The highest EPSS score among them is 79.628%.
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.
Child of CWE-749: Exposed Dangerous Method or Function
Mitigations
- Architecture and Design: In Windows environments, use proper access control for the associated device or device namespace. See References.
Observed examples
- CVE-2009-2208: Operating system does not enforce permissions on an IOCTL that can be used to modify network settings.
- CVE-2008-3831: Device driver does not restrict ioctl calls to its direct rendering manager.
- CVE-2008-3525: ioctl does not check for a required capability before processing certain requests.
- CVE-2008-0322: Chain: insecure device permissions allows access to an IOCTL, allowing arbitrary memory to be overwritten.
- CVE-2007-4277: Chain: anti-virus product uses weak permissions for a device, leading to resultant buffer overflow in an exposed IOCTL.
- CVE-2007-1400: Chain: sandbox allows opening of a TTY device, enabling shell commands through an exposed ioctl.
- CVE-2006-4926: Anti-virus product uses insecure security descriptor for a device driver, allowing access to a privileged IOCTL.
- CVE-1999-0728: Unauthorized user can disable keyboard or mouse by directly invoking a privileged IOCTL.
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2021-21551 | 2021-05-04 | HIGH | 8.8 | 79.628% | Dell dbutil_2_3.sys driver contains an insufficient access control vulnerability which may lead to escalation of privileges, denial of service, or information… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-782'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-782'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).