CWE-15: External Control of System or Configuration Setting

BaseIncomplete

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

View on MITRE
Back to CWE Lookup

Extended Description

Allowing external control of system settings can disrupt service or cause an application to behave in unexpected, and potentially malicious ways.

Technical Details

Structure
Simple

Applicable To

Languages
Platforms

Frequently Asked Questions

What is CWE-15: External Control of System or Configuration Setting?+

CWE-15: External Control of System or Configuration Setting is a Common Weakness Enumeration (CWE) entry maintained by MITRE. One or more system settings or configuration elements can be externally controlled by a user. Allowing external control of system settings can disrupt service or cause an application to behave in unexpected, and potentially malicious ways.

What are the security consequences of External Control of System or Configuration Setting?+

If exploited, CWE-15 (External Control of System or Configuration Setting) it can compromise Other, leading to outcomes such as Varies by Context.

How do you prevent or mitigate External Control of System or Configuration Setting?+

Recommended mitigations for CWE-15 include: 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. 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.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-15 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More