Web Security: Injection Attacks, DNS Security, and Denial of Service

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/59

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering SQL injection, path traversal, SSRF, XML vulnerabilities, DNS protocols, DNSSEC architecture, and DoS/DDoS attack vectors and defenses.

60 Terms

1
New cards

Structured Query Language (SQL)

A declarative programming language defined by the International Organization for Standardization (ISO) used to manage and query data stored in relational databases.

2
New cards

ACID Properties

A set of database properties—Atomicity, Consistency, Isolation, and Durability—that guarantee database transactions will never store partial operations, return invalid states, or be vulnerable to race conditions.

3
New cards

Declarative Programming

A programming paradigm in which code defines the desired outcome or result rather than specifying the exact execution steps, as seen in SQL.

4
New cards

SQL Injection (SQLi)

An attack where malicious SQL code is injected into backend database queries through vulnerable input manipulation, allowing attackers to execute arbitrary SQL commands to leak, modify, or delete data.

5
New cards

Inband SQL Injection

A category of SQL injection where the attacker uses the same communication channel to inject malicious SQL code and retrieve results directly on the application's web page.

6
New cards

Tautology Attack

An inband SQL injection technique that injects code into conditional statements so that they evaluate to true unconditionally (e.g., injecting ' OR '1' = '1).

7
New cards

Piggybacked Queries

An attack where an adversary appends an entirely new SQL statement onto an existing query using a statement delimiter such as a semicolon (;).

8
New cards

Inferential (Blind) SQL Injection

A SQL injection attack where the server does not display query data or error messages directly, requiring the attacker to infer database contents by observing application behavior, response codes, or timing side channels.

9
New cards

Boolean-Based Blind SQL Injection

A blind SQL injection method where an attacker injects queries that evaluate boolean conditions character by character (e.g., using SUBSTRING) and determines truth values based on differing application responses.

10
New cards

sqlmap

An automated open-source penetration testing tool designed to detect and exploit SQL injection flaws and take over database servers, supporting techniques such as timing side channels.

11
New cards

SQL UNION Operator

A SQL operator that combines the result sets of two or more SELECT statements into a single output, requiring matching column counts and compatible data types across queries.

12
New cards

UNION SQL Injection

An exploitation technique that appends a secondary malicious SELECT query to an application query using the UNION operator to extract sensitive records from other database tables.

13
New cards

Prepared Statements

A database defense mechanism where parameterized queries use placeholders (?) for user input, ensuring the database engine treats all parameters purely as literal data rather than executable code.

14
New cards

Command Injection

An attack occurring when untrusted user input is concatenated directly into system execution functions, enabling an adversary to execute arbitrary shell commands on the host operating system.

15
New cards

Path Traversal (Directory Traversal)

A vulnerability occurring when user-supplied filenames are appended to directory paths without proper sanitization, allowing attackers to navigate out of the intended directory tree using ../ sequences to access sensitive files.

16
New cards

Server-Side Request Forgery (SSRF)

A vulnerability where an attacker manipulates a backend server into making unauthorized internal or external network requests on their behalf, bypassing perimeter access controls to reach sensitive internal services.

17
New cards

DNS Rebinding

An SSRF bypass technique in which an attacker controls a public domain name configured to resolve to a restricted local IP address (such as 127.0.0.1) when queried by the victim server.

18
New cards

Null Byte Injection

An exploit where a null character (\0 or %00) is submitted within user input, causing lower-level C-based libraries to terminate the string early and bypass file extension or path validations implemented in higher-level languages.

19
New cards

Mail Command Injection

An attack where malicious command separators or chained commands are injected into email parameters (e.g., subject or recipient) processed directly by underlying shell mail utilities.

20
New cards

XML External Entity (XXE)

A vulnerability that occurs when a weakly configured XML parser evaluates external entity declarations inside a DOCTYPE block, allowing attackers to disclose local server files or initiate SSRF requests.

21
New cards

XInclude

An XML standard that allows runtime inclusion of external documents into an XML body, enabling attackers to execute XXE-style file retrievals even when traditional declarations are blocked.

22
New cards

Simple Object Access Protocol (SOAP)

A lightweight, platform-independent messaging protocol that transmits structured information across networks using formatted XML messages containing an envelope, header, and body.

23
New cards

Domain Name System (DNS)

A distributed, hierarchical Internet protocol designed to translate human-readable domain names into machine-routable IP addresses primarily over UDP port 53.

24
New cards

Root Name Server

One of 13 authoritative name server clusters sitting at the top of the DNS tree hierarchy that directs resolvers toward the authoritative Top-Level Domain (TLD) servers.

25
New cards

Stub Resolver

A lightweight DNS resolver residing on an end host computer that forwards lookups to a local recursive resolver rather than querying the DNS hierarchy directly.

26
New cards

Recursive Resolver

A DNS server (typically operated by an ISP or public provider) that performs iterative lookups through root, TLD, and authoritative name servers on behalf of client hosts and caches the resulting records.

27
New cards

Time To Live (TTL)

A metadata field in a DNS resource record defining the exact duration in seconds that a resolver is permitted to store the record in its cache before re-querying.

28
New cards

A Record

A standard DNS resource record type that maps a domain name to its corresponding 32-bit IPv4 address.

29
New cards

AAAA Record

A DNS resource record type that maps a domain name to its corresponding 128-bit IPv6 address.

30
New cards

NS Record

A DNS resource record type that delegates authority over a domain zone to a specified authoritative name server.

31
New cards

Glue Record

A non-authoritative A or AAAA record included in the additional section of a DNS response providing the IP address of a delegated child name server to prevent circular lookup dependencies.

32
New cards

DNS Cache Poisoning

An attack where forged, malicious DNS records are injected into a resolver's cache, causing it to direct legitimate users to an attacker-controlled IP address.

33
New cards

Bailiwick Checking

A validation rule where a DNS resolver only accepts records that fall strictly within the specific administrative zone of authority of the queried name server.

34
New cards

Kaminsky Attack

A DNS cache poisoning technique where an attacker repeatedly queries random non-existent subdomains, allowing multiple rapid race condition attempts to inject spoofed authoritative glue records without waiting for caching TTLs to expire.

35
New cards

DNSSEC (DNS Security Extensions)

A suite of protocol extensions that provides authenticity and integrity to DNS responses using a public-key cryptographic chain of trust and digital signatures.

36
New cards

EDNS0 (Extension Mechanisms for DNS)

A protocol extension that introduces the OPT pseudosection to DNS messages, enabling support for DNSSEC flags and UDP response sizes greater than 512 bytes while remaining backward-compatible.

37
New cards

Resource Record Set (RRSET)

A group of DNS resource records that share the same domain name, class, and record type (such as all AAAA records for a single host) and are cryptographically signed together in DNSSEC.

38
New cards

RRSIG Record

A DNSSEC resource record that contains the cryptographic digital signature used to verify the integrity and origin authenticity of a specific RRSET.

39
New cards

DNSKEY Record

A DNSSEC resource record that publishes a zone's public key (such as the ZSK or KSK), allowing resolvers to verify digital signatures on RRSETs.

40
New cards

DS (Delegated Signer) Record

A DNSSEC record stored in a parent zone that holds the cryptographic hash of a child zone's Key Signing Key (KSK), establishing the hierarchical chain of trust.

41
New cards

Zone Signing Key (ZSK)

A shorter-length private key used within a DNSSEC zone to frequently sign RRSETs without requiring updates or coordination with the parent zone.

42
New cards

Key Signing Key (KSK)

A longer-length private key used in DNSSEC to sign the public Zone Signing Key (ZSK), whose corresponding public key hash is registered in the parent zone's DS record.

43
New cards

Trust Anchor

The authoritative public key implicitly trusted by resolvers at the origin of verification—specifically the root name server's public key in DNSSEC—from which all validation chains begin.

44
New cards

Denial of Service (DoS)

An attack designed to disrupt the availability of a network, system, or application, rendering services inaccessible to legitimate users by exhausting critical resources.

45
New cards

Distributed Denial of Service (DDoS)

A Denial of Service attack where attack traffic originates simultaneously from a multitude of distributed, compromised devices (a botnet) to overwhelm a target.

46
New cards

System Bottleneck

The particular link or component within an infrastructure that possesses the lowest capacity limit (e.g., ingress bandwidth, egress bandwidth, CPU, or memory), which an attacker seeks to saturate.

47
New cards

Amplification Attack

An asymmetric DoS attack where an adversary sends small requests with forged source IPs to public servers (like DNS, NTP, or Memcached) that generate disproportionately massive response payloads reflected directly to the victim.

48
New cards

IP Spoofing

The practice of forging the source IP address in IP packet headers to conceal the attacker's true identity, evade IP-based filters, or direct reflection traffic toward a targeted victim.

49
New cards

Algorithmic Complexity Attack

An application-layer DoS attack where inputs are intentionally structured to provoke the worst-case time complexity of algorithms or data structures, such as triggering O(n2)O(n^2) behavior in quicksort.

50
New cards

Hash Collision DoS

An application attack where an adversary submits multiple inputs designed to hash to the exact same bucket, degrading hash table lookup operations from O(1)O(1) average time to O(n)O(n) linear time.

51
New cards

TCP SYN Flood

A network DoS attack where the attacker floods a server with TCP SYN packets but never sends the completing ACK packet, exhausting the server's connection backlog memory table.

52
New cards

TCP Cookies (SYN Cookies)

A stateless defense against TCP SYN floods where the server encodes connection state into the initial sequence number of the SYN-ACK packet instead of allocating memory in a connection table prior to receiving the final ACK.

53
New cards

TCP Congestion Control

A transport layer mechanism that regulates traffic transmission rates by adjusting the congestion window (cwndcwnd) through slow start and congestion avoidance phases when packet drop or timeout occurs.

54
New cards

Shrew Attack

A low-rate, stealthy DoS attack that injects periodic, short, high-volume traffic bursts synchronized with TCP's retransmission timeout (RTO) to persistently throttle transmission window sizes without sustaining high average traffic volume.

55
New cards

Slowloris Attack

An application-layer DoS attack that opens numerous HTTP connections and holds them open indefinitely by sending minimal, periodic header updates without transmitting the final terminating CRLF (\r\n\r\n) sequence.

56
New cards

Botnet

A network of compromised computers or Internet-of-Things (IoT) devices infected with malware and remotely commanded by an attacker through command-and-control servers to launch distributed attacks.

57
New cards

Scrubbing Center

A centralized, high-bandwidth cloud security facility that inspects incoming network traffic, removes malicious DDoS packets, and routes only clean, legitimate traffic to the destination.

58
New cards

Hop-Count Filtering

A DDoS mitigation technique that computes the network hop distance of incoming packets from their IP Time-To-Live (TTL) values and drops packets whose hop counts conflict with historical baseline pairs.

59
New cards

Stateless Packet Filter

A firewall mechanism that inspects individual packets in total isolation based strictly on static header criteria (such as source/destination IP, port, and flags) without tracking connection history.

60
New cards

Stateful Packet Filter

A firewall mechanism that monitors active inbound and outbound network connection states to evaluate whether individual packets belong to an established, legitimate communication flow.