Detailedseverity: Very HighDraft

CAPEC-470Expanding Control over the Operating System from the Database

Abstraction
Detailed
Status
Draft
Severity
Very High

Description

An attacker is able to leverage access gained to the database to read / write data to the file system, compromise the operating system, create a tunnel for accessing the host machine, and use this access to potentially attack other machines on the same network as the database machine. Traditionally SQL injections attacks are viewed as a way to gain unauthorized read access to the data stored in the database, modify the data in the database, delete the data, etc. However, almost every data base management system (DBMS) system includes facilities that if compromised allow an attacker complete access to the file system, operating system, and full access to the host running the database. The attacker can then use this privileged access to launch subsequent attacks. These facilities include dropping into a command shell, creating user defined functions that can call system level libraries present on the host machine, stored procedures, etc.

Related weaknesses· 2

CWE-250CWE-89

Related attack patterns· 1

CAPEC-66 (ChildOf)

Exploits2

TypeTargetConfidenceTier
WeaknessExecution with Unnecessary Privilegescwe-250100%live
WeaknessImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')cwe-89100%live

Related by meaning· 6

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

CAPEC
Command Line Execution through SQL Injection
CAPEC
OS Command Injection
CAPEC
SQL Injection
CAPEC
Code Injection
CAPEC
Command Injection
CAPEC
Hijacking a privileged process
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.