SQL Injection
What is SQL Injection?
A web security vulnerability that allows an attacker to interfere with the queries an application makes to its database. SQL injection can be used to view, modify, or delete data and in some cases gain complete control of the database server.
Frameworks that govern sql injection
What the standards actually require on sql injection
Requirements naming sql injection across 6 standards, quoted from the control text.
Web applications sit behind a suitable web application firewall that monitors and filters traffic to and from the application against attacks such as cross-site request forgery, cross-site scripting, file inclusion and SQL injection.
bulgaria-ordinance-on-minimum-requirements-for-network-and-information-security-2019::24(4)-(8) · Protect web applications with a web application firewall against CSRF, XSS, file inclusion and SQL injection, accept user input only at designated points, validate all client-supplied data including referrer and user-agent headers, reject special characters used in SQL, and HTML-encode client data before display →Rank 3 in the 2024 CWE Top 25 (frequency x severity of CVEs). SQL Injection: user input is incorporated into an SQL query without proper neutralisation, allowing modification of query logic and unauthorised data access.
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) →Use parameterised queries instead of placing user input into query strings, to prevent SQL injection.
secure-by-design-a-guide-for-manufacturers-cisa::DT-5 · Parameterized queries (SSDF PW.5.1) →Application code scanners, which analyse source, binary or byte code for security flaws, malicious code and back doors, must be used whenever possible and particularly in development so flagged code is remediated before release, with mitigations such as IDS or...
disa-security-technical-implementation-guides-stigs::SRG-9 · SRG-9 ASD general requirements: code scanners whenever possible, application scanners regularly, mobile code by category →The device validates application-layer data entered through user interfaces against unexpected input, to prevent manipulation and failure, for example discarding input that would enable SQL injection. Status in Table B.1: M (mandatory, a shall provision).
etsi-en-303-645::Provision 5.13-1A · Validation of application-layer input from user interfaces →Applications, including web applications facing the internet, are tested against known attack types such as SQL injection, cross-site scripting and buffer overflow before implementation and after significant change.
ffiec-cybersecurity-assessment-tool-cat::D3.PC.Se.Int.2 · D3.PC.Se.Int.2 Secure Coding (Intermediate 2) →Questions people ask about sql injection
What is SQL Injection?
Why is SQL Injection important for compliance?
Which compliance frameworks address SQL Injection?
Where can I learn more about SQL Injection?
See how SQL Injection applies across compliance frameworks
Our platform maps 1,454 frameworks with 315K cross-framework control mappings. Explore how this concept is addressed across standards.