Common Weakness Enumeration

CWE-782

Weakness Allowed

Exposed IOCTL with Insufficient Access Control

Abstraction: Variant · Status: Draft

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.

Mapping guidance

This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.

Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

Relationships and members
ChildOf: CWE-749 · View CWE-1000
CanPrecede: CWE-781 · View CWE-1000
Modes of introduction
Architecture and Design
Implementation

REALIZATION: This weakness is caused during implementation of an architectural security tactic.

Notes

Relationship

This can be primary to many other weaknesses when the programmer assumes that the IOCTL can only be accessed by trusted parties. For example, a program or driver might not validate incoming addresses in METHOD_NEITHER IOCTLs in Windows environments (CWE-781), which could allow buffer overflow and similar attacks to take place, even when the attacker never should have been able to access the IOCTL at all.

Applicable Platform

Because IOCTL functionality is typically performing low-level actions and closely interacts with the operating system, this weakness may only appear in code that is written in low-level languages.

Content history
Submission: CWE Content Team · MITRE · 2009-07-15 · CWE 1.5
Modification: CWE Content Team · MITRE · 2009-12-28 · CWE 1.7

updated Time_of_Introduction

Modification: CWE Content Team · MITRE · 2017-11-08 · CWE 3.0

updated Likelihood_of_Exploit, Modes_of_Introduction, Relationships

Modification: CWE Content Team · MITRE · 2020-02-24 · CWE 4.0

updated Relationships

Modification: CWE Content Team · MITRE · 2021-03-15 · CWE 4.4

updated Observed_Examples

Modification: CWE Content Team · MITRE · 2023-01-31 · CWE 4.10

updated Description

Modification: CWE Content Team · MITRE · 2023-04-27 · CWE 4.11

updated References, Relationships

Modification: CWE Content Team · MITRE · 2023-06-29 · CWE 4.12

updated Mapping_Notes

Modification: CWE Content Team · MITRE · 2023-10-26 · CWE 4.13

updated Common_Consequences

Modification: CWE Content Team · MITRE · 2025-12-11 · CWE 4.19

updated Weakness_Ordinalities

82 vulnerabilities reference this CWE, most recent first.

GHSA-XCXV-MC83-GMW5

Vulnerability from github – Published: 2025-03-17 18:31 – Updated: 2025-03-19 21:30
VLAI
Details

An exposed ioctl in the IMFForceDelete driver of IObit Malware Fighter v12.1.0 allows attackers to arbitrarily delete files and escalate privileges.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-26125"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-782"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-03-17T18:15:21Z",
    "severity": "MODERATE"
  },
  "details": "An exposed ioctl in the IMFForceDelete driver of IObit Malware Fighter v12.1.0 allows attackers to arbitrarily delete files and escalate privileges.",
  "id": "GHSA-xcxv-mc83-gmw5",
  "modified": "2025-03-19T21:30:49Z",
  "published": "2025-03-17T18:31:53Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26125"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ZeroMemoryEx/CVE-2025-26125"
    },
    {
      "type": "WEB",
      "url": "https://github.com/ZeroMemoryEx/IObit-EoP"
    },
    {
      "type": "WEB",
      "url": "https://x.com/zeromemoryex/status/1876878269200449819"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-XW54-98C9-3F6V

Vulnerability from github – Published: 2026-09-04 21:31 – Updated: 2026-09-04 21:31
VLAI
Details

PassMark PerformanceTest before 11.1 build 1012, BurnInTest before 11.1 build 1000, and OSForensics before 11.1 build 1016 contain a privilege escalation vulnerability in DirectIo64.sys that allows local users to clear arbitrary bits at any physical memory address due to missing validation of the physical address parameter in an exposed IOCTL handler. Attackers can obtain a device handle and supply an arbitrary 64-bit physical address with a bit index to invoke MmMapIoSpace and clear bits in kernel code pages or page table entries, enabling local privilege escalation or system compromise.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-80113"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-782"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-04T19:17:27Z",
    "severity": "MODERATE"
  },
  "details": "PassMark PerformanceTest before 11.1 build 1012, BurnInTest before 11.1 build 1000, and OSForensics before 11.1 build 1016 contain a privilege escalation vulnerability in DirectIo64.sys that allows local users to clear arbitrary bits at any physical memory address due to missing validation of the physical address parameter in an exposed IOCTL handler. Attackers can obtain a device handle and supply an arbitrary 64-bit physical address with a bit index to invoke MmMapIoSpace and clear bits in kernel code pages or page table entries, enabling local privilege escalation or system compromise.",
  "id": "GHSA-xw54-98c9-3f6v",
  "modified": "2026-09-04T21:31:50Z",
  "published": "2026-09-04T21:31:50Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80113"
    },
    {
      "type": "WEB",
      "url": "https://dkom.dev/posts/directio64-disclosure"
    },
    {
      "type": "WEB",
      "url": "https://github.com/floppywiggler/directio64-disclosure"
    },
    {
      "type": "WEB",
      "url": "https://www.osforensics.com/whats-new.html"
    },
    {
      "type": "WEB",
      "url": "https://www.passmark.com/products/burnintest/history.php"
    },
    {
      "type": "WEB",
      "url": "https://www.passmark.com/products/performancetest/history.php"
    },
    {
      "type": "WEB",
      "url": "https://www.vulncheck.com/advisories/passmark-performancetest-burnintest-and-osforensics-arbitrary-bit-clear-via-directio64-sys-ioctl"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}

Mitigation
Architecture and Design

In Windows environments, use proper access control for the associated device or device namespace. See References.

No CAPEC attack patterns related to this CWE.