BaseStableTop 25 #7

CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Category: injection

Description

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Common consequences· 1

  • Confidentiality / Integrity / Availability / Non-Repudiation — Execute Unauthorized Code or Commands, DoS: Crash, Exit, or Restart, Read Files or Directories, Modify Files or Directories, Read Application Data, Modify Application Data, Hide Activities
    Attackers could execute unauthorized operating system commands, which could then be used to disable the product, or read and modify data for which the attacker does not have permissions to access directly. Since the targeted application is directly executing the commands instead of the attacker, any malicious activities may appear to come from the application or the application's owner.

Potential mitigations· 5

  • [Architecture and Design]If at all possible, use library calls rather than external processes to recreate the desired functionality.
  • [Architecture and Design, Operation]
  • [Architecture and Design]For any data that will be used to generate a command to be executed, keep as much of that data out of external control as possible. For example, in web applications, this may require storing the data locally in the session's state instead of sending it out to the client in a hidden form field.
  • [Architecture and Design]For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
  • [Architecture and Design]

Related CAPEC attack patterns· 5

CAPEC-108CAPEC-15CAPEC-43CAPEC-6CAPEC-88

References

  1. https://cwe.mitre.org/data/definitions/78.html

Exploits (incoming)3

TypeTargetConfidenceTier
AttackPatternExploiting Multiple Input Interpretation Layerscapec-43100%live
AttackPatternCommand Delimiterscapec-15100%live
AttackPatternArgument Injectioncapec-6100%live

Compliance frameworks addressing this (incoming)7

TypeTargetConfidenceTier
ComplianceControlpci_dss_v4-r5100%live
ComplianceControlowasp_top10-a03100%live
ComplianceControliso27001-a.8.8100%live
ComplianceControltiber_eu-testing100%live
ComplianceControlpci_dss_v4-r11100%live
ComplianceControlnist_csf-rs100%live
ComplianceControliso27001-a.8.28100%live

(incoming)140

TypeTargetConfidenceTier
VulnerabilityCVE-2025-0107cve-2025-01070%live
VulnerabilityCVE-2025-0457cve-2025-04570%live
VulnerabilityCVE-2025-0636cve-2025-06360%live
VulnerabilityCVE-2025-0680cve-2025-06800%live
VulnerabilityCVE-2025-0798cve-2025-07980%live
VulnerabilityCVE-2025-10230cve-2025-102300%live
VulnerabilityCVE-2025-10265cve-2025-102650%live
VulnerabilityCVE-2025-10326cve-2025-103260%live
VulnerabilityCVE-2025-10327cve-2025-103270%live
VulnerabilityCVE-2025-10328cve-2025-103280%live
VulnerabilityCVE-2025-10358cve-2025-103580%live
VulnerabilityCVE-2025-10359cve-2025-103590%live
VulnerabilityCVE-2025-10442cve-2025-104420%live
VulnerabilityCVE-2025-10568cve-2025-105680%live
VulnerabilityCVE-2025-10589cve-2025-105890%live
VulnerabilityCVE-2025-10622cve-2025-106220%live
VulnerabilityCVE-2025-10659cve-2025-106590%live
VulnerabilityCVE-2025-10680cve-2025-106800%live
VulnerabilityCVE-2025-11005cve-2025-110050%live
VulnerabilityCVE-2025-11138cve-2025-111380%live
VulnerabilityCVE-2025-11142cve-2025-111420%live
VulnerabilityCVE-2025-11148cve-2025-111480%live
VulnerabilityCVE-2025-11202cve-2025-112020%live
VulnerabilityCVE-2025-11285cve-2025-112850%live
VulnerabilityCVE-2025-11407cve-2025-114070%live
VulnerabilityCVE-2025-11490cve-2025-114900%live
VulnerabilityCVE-2025-11491cve-2025-114910%live
VulnerabilityCVE-2025-11665cve-2025-116650%live
VulnerabilityCVE-2025-11774cve-2025-117740%live
VulnerabilityCVE-2025-11787cve-2025-117870%live

Showing top 30 of 140 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Neutralization of Special Elements used in a Command ('Command Injection')
CWE
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CWE
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CWE
Improper Control of Generation of Code ('Code Injection')
CWE
Improper Neutralization of Expression/Command Delimiters
CWE
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.