Database

Untrusted input altering the query a server sends to its data store, SQL, NoSQL, ORM escape hatches, and directory services.

1분 분량2026년 10월 7일 업데이트florianamette기여자 1명
어시스턴트에게 묻기 (MCP)GitHub에서 편집

Database injection is where untrusted input alters the query a server sends to its data store. It spans classic SQL (string-built queries across engines), NoSQL (operator and syntax injection in document, key-value, wide-column, and graph stores), ORM escape hatches that reintroduce raw queries, and directory services such as LDAP. Impact ranges from authentication bypass and data disclosure to, depending on the engine and privileges, file access and command execution.

Subtopics#

  • LDAP: Exploiting LDAP injection when application code builds directory filters, distinguished names, or search bases from untrusted input, including authentication...
  • NoSQL: Injection against non-relational data stores, where attacker-controlled objects, operators, or query-language fragments are interpreted by the driver rather...
  • ORM: Object-relational mappers parameterize normal queries, but every one exposes escape hatches that reopen injection, organized by framework.
  • SQL: SQL injection organized by database engine, because the exploitable syntax, functions, catalog, and file and command primitives differ sharply between MySQL,...