CWEweakness

CWE-15 External Control of System or Configuration Setting

Official page ↗
Abstraction
Base
Structure
Simple
Status
Incomplete
CWE version
5.0

Description

One or more system settings or configuration elements can be externally controlled by a user.

Common consequences

• Other: Varies by Context — Allowing external control of system settings can disrupt service or cause an application to behave in unexpected, and potentially malicious ways.

Potential mitigations

• [Architecture and Design] Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges. • [Implementation, Architecture and Design] Because setting manipulation covers a diverse set of functions, any attempt at illustrating it will inevitably be incomplete. Rather than searching for a tight-knit relationship between the functions addressed in the setting manipulation category, take a step back and consider the sorts of system values that an attacker should not be allowed to control. • [Implementation, Architecture and Design] In general, do not allow user-provided or otherwise untrusted data to control sensitive values. The leverage that an attacker gains by controlling these values is not always immediately obvious, but do not underestimate the creativity of the attacker.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Related

Attack pattern · CAPEC (10)

  • CAPEC-13 Subverting Environment Variable Values attack pattern
  • CAPEC-146 XML Schema Poisoning attack pattern
  • CAPEC-176 Configuration/Environment Manipulation attack pattern
  • CAPEC-203 Manipulate Registry Information attack pattern
  • CAPEC-270 Modification of Registry Run Keys attack pattern
  • CAPEC-271 Schema Poisoning attack pattern
  • CAPEC-579 Replace Winlogon Helper DLL attack pattern
  • CAPEC-69 Target Programs with Elevated Privileges attack pattern
  • CAPEC-76 Manipulating Web Input to File System Calls attack pattern
  • CAPEC-77 Manipulating User-Controlled Variables attack pattern

Child of · CWE (3)

  • CWE-20 Improper Input Validation weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness
  • CWE-642 External Control of Critical State Data weakness

Referenced by CAPEC · weakness (10)

  • CAPEC-13 Subverting Environment Variable Values attack pattern
  • CAPEC-146 XML Schema Poisoning attack pattern
  • CAPEC-176 Configuration/Environment Manipulation attack pattern
  • CAPEC-203 Manipulate Registry Information attack pattern
  • CAPEC-270 Modification of Registry Run Keys attack pattern
  • CAPEC-271 Schema Poisoning attack pattern
  • CAPEC-579 Replace Winlogon Helper DLL attack pattern
  • CAPEC-69 Target Programs with Elevated Privileges attack pattern
  • CAPEC-76 Manipulating Web Input to File System Calls attack pattern
  • CAPEC-77 Manipulating User-Controlled Variables attack pattern

Referenced by CVE · weakness (91)

  • CVE-2025-68403 An external control of system or configuration setting vulnerability has been reported to affect QuRouter. vulnerability
  • CVE-2026-110845 n8n before 1.123.83, 2.x before 2.41.4, and 2.42.x before 2.42.1 contains a code execution vulnerability in the Git node Log operation,… vulnerability
  • CVE-2026-73027 External control of system or configuration setting in Windows Setup Files Cleanup allows an authorized attacker to elevate privileges… vulnerability
  • CVE-2026-96188 External control of system or configuration setting in Microsoft PowerToys allows an authorized attacker to elevate privileges locally. vulnerability
  • CVE-2026-96218 Improper access control in Windows Update Stack allows an authorized attacker to perform tampering locally. vulnerability
  • CVE-2026-107818 MariaDB server is a community developed fork of MySQL server. vulnerability
  • CVE-2026-107503 In Eclipse Ditto versions 3.6.0 to 3.8.13 and 3.9.0 to 3.9.7, the Ditto Explorer UI loads its complete environment configuration, including… vulnerability
  • CVE-2026-94577 A privilege escalation vulnerability exists in the internal Command-Line Interface (CLI) authorization handling mechanism of Brocade Fabric… vulnerability
  • CVE-2026-105294 Legcord 1.1.0 through 1.3.0 contains a configuration injection vulnerability that allows script in the Discord page to write any config key… vulnerability
  • CVE-2026-103442 External control of system or configuration setting vulnerability in The Wikimedia Foundation MediaWiki CentralAuth extension allows Code… vulnerability
  • CVE-2026-54918 NetBox Device Type Library is a collection of community-sourced device type definitions for import into NetBox. vulnerability
  • CVE-2026-87987 An arbitrary code execution vulnerability in Mistral Vibe allows an attacker to bypass command permission checks using environment variable… vulnerability
  • CVE-2026-13745 A vulnerability in the Gemini CLI prior to version 0.39.1 allows attackers to achieve arbitrary code execution by tricking a victim into… vulnerability
  • CVE-2026-85217 A maliciously crafted add-in, when installed and executed in Autodesk Fusion Desktop, can modify persistent network proxy settings without… vulnerability
  • CVE-2026-19592 OpenAI Codex CLI for Windows, macOS, and Linux and Codex Desktop for Windows and macOS automatically collected Git repository metadata… vulnerability
  • CVE-2026-19593 OpenAI Codex Desktop for Windows and macOS automatically inspected Git metadata and working-tree status when a user opened a workspace. vulnerability
  • CVE-2026-16708 IBM Db2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote attacker to obtain sensitive information due to external control of system… vulnerability
  • CVE-2026-19884 In Eclipse Theia versions up to and including 1.69.0, opening a folder starts source control integration without requiring the user to… vulnerability
  • CVE-2026-73661 FreePBX is an open source IP PBX. vulnerability
  • CVE-2026-66065 Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. vulnerability
  • CVE-2026-56567 HCL iControl v4.3.0 was affected by Security Misconfiguration vulnerabilities. vulnerability
  • CVE-2026-46485 Dashy is a self-hostable personal dashboard. vulnerability
  • CVE-2026-44768 SAP CRM WebClient UI allows an attacker to inject and execute malicious scripts in the context of the application due to the absence of a… vulnerability
  • CVE-2026-0418 Insufficient configuration management in the listed devices allows authenticated administrators connected to the local network to tamper… vulnerability
  • CVE-2026-46399 HAX CMS helps manage microsite universe with PHP or NodeJs backends. vulnerability
  • CVE-2026-1784 The Route OpenShift resource allows to define routes to make pods reachable at a subdomain through HAProxy. vulnerability
  • CVE-2019-25716 Dräger Infinity Delta, Delta XL, and Kappa patient monitors contain a denial-of-service vulnerability that allows remote attackers to cause… vulnerability
  • CVE-2026-45087 Dalfox is a powerful open-source XSS scanner and utility focused on automation. vulnerability
  • CVE-2026-44417 The fix for CVE-2025-48913: Apache CXF: Untrusted JMS configuration can lead to RCE was not complete, meaning that another path in the code… vulnerability
  • CVE-2026-44774 Traefik is an HTTP reverse proxy and load balancer. vulnerability
Show all 91 ›

Referenced by OWASP · mapped cwe (2)

  • A02:2025 Security Misconfiguration Top 10 2025
  • A05:2021 Security Misconfiguration Top 10 2021