In-depth lesson · Memory corruption
Bypasses and variations
Every point the Memory corruption reports back under this heading, best-backed first, each with the reports it is seen in.
-
Select two tabs with shift and refresh them together to reach the selection model mismatch.
Seen in 1 report
-
Send a fragment just under the maximum size followed by one with a huge length so the signed sum goes negative and the size check passes.
Seen in 1 report
-
Send a packet with an invalid packet type so the receive dispatch indexes outside the statistics array.
Seen in 1 report
-
Send a Subscribe packet that is processed before authentication to reach the parser.
-
Send a valid verb without the terminating double CRLF to set the session state, then send a second packet to overflow.
Seen in 1 report
-
Send an eleventh association request to force allocation of a new association group.
Seen in 1 report
-
Send an invalid or over-long request to the netlogon service so the buffer is freed while the remaining length stays positive.
Seen in 1 report
-
Send an out-of-range image annotation status integer in an accessibility tree update.
Seen in 1 report
-
Send an overlong URL that passes the XSS blacklist comparison but overflows the stack buffer.
Seen in 1 report
-
Send completion and response messages out of order so a repeating callback writes into freed memory.
Seen in 1 report
-
Send crafted beacon frames repeatedly while the target is searching for cast screens.
Seen in 1 report
-
Send further association requests until the group table must be expanded so the stale pointer is written through.
Seen in 1 report
-
Send the abort message a second time so the stale pointer is used after the request was freed.
Seen in 1 report
-
Send the bind and partial bind acknowledgement in a single send call so the second packet triggers extra state machine actions.
Seen in 1 report
-
Send the request directly to the local endpoint or over SMB to reach the netlogon service.
Seen in 1 report
-
Send the SLC subnegotiation before the terminal type subnegotiation so the data is deferred and processed later.
-
Send very large header values on a 32-bit build so the bit counter wraps in the size calculation.
Seen in 1 report
-
Sending a crafted attachment to a mailbox reaches the search component through automatic indexing, without the user opening it.
Seen in 1 report
-
Sending a second fragment with a larger size than the first bypasses the size check that was only applied to the first packet.
Seen in 1 report
-
Sending an unexpected second Init after a valid first one gets past the parent's assumption that Init happens once.
-
Sending the overlong value as a collation name after the equals sign works as well as an overlong charset name.
-
Serve a malformed HTTP response so the length variable goes negative.
Seen in 1 report
-
Set a Content-Length smaller than the real body so the size restriction is bypassed and the oversized payload reaches the parser.
Seen in 1 report
-
Set a non-zero horizontal offset in the visible rect of a frame backed by exactly sized shared memory.
Seen in 1 report
-
Set a Referer header to get past the referer check on the router's goform endpoint.
Seen in 1 report
-
Set a size field to the maximum value so adding two wraps around and the size check passes.
Seen in 1 report
-
Set draw buffers to none on a framebuffer with a multisampled attachment so the sample count is cached as one.
Seen in 1 report
-
Set the alias length to the manifest length minus fourteen to place the null write one past the buffer.
Seen in 1 report
-
Set the data representation flag to skip the earlier authentication trailer flaw and reach a different out-of-bounds pointer calculation.
Seen in 1 report
-
Set the encryption dictionary Length far above the legal maximum to overflow the fixed stack buffer.
Seen in 1 report
-
Set the fragment length to zero and a large authentication length to push the trailer pointer outside the buffer in DCERPC authentication trailers.
Seen in 1 report
-
Set the high bit of a vertex attribute offset and a divisor above 255 to reach a negative offset in the backend.
Seen in 1 report
-
Set the DCERPC packet type to one that reaches the vulnerable code path, such as alter context or bind.
Seen in 1 report
-
Set a class prototype's prototype to an object with an accessor so the super lookup starts elsewhere, then call with a primitive receiver.
Seen in 1 report
-
Set the residue ID field to zero so the uninitialised residue pointer is used in GRO file parsing.
Seen in 1 report
-
Set the super page flag to skip validation, write the L1 entries, then clear the flag in Xen page tables.
Seen in 1 report
-
Set the view layout and zoom, submit the form with annotations included, and scroll to trigger the destroy on a second annotation in PDF annotation JavaScript.
Seen in 1 report
-
Set a WebAssembly object as a prototype and traverse the chain with array concatenation to reach the bad cast.
Seen in 1 report
-
$10,000 High
-
-
Setting start time greater than end time enables run-length mode, which is needed to reach the vulnerable dictionary parsing in GTKWave VZT.
Seen in 1 report
-
Shape the request so the out-of-memory exception fires exactly during allocation of request-bound state structures in PHP heap grooming.
-
Shape heap allocations through a proxy with requests of various sizes so a one-byte write lands in a chosen freed hole.
Seen in 1 report
-
Shrink the transform feedback buffer between pause and resume so the capacity subtraction underflows.
Seen in 1 report
-
Split the oversized header block across a headers frame and continuation frames to get past HTTP/2 frame size limits.
Seen in 1 report
-
Spray fake objects in a large static data segment and use a call-oriented chain to reach a system call.
Seen in 1 report
-
Spray the browser process heap with forged node structures using other available inter-process messages.
Seen in 1 report
-
Start from a low integrity context and use a memory corruption flaw to raise integrity level.
Seen in 1 report
-
Start from code already running on the Wi-Fi subsystem to reach the driver flaw.
-
Start the ssh_port value with a valid port number so the numeric parse succeeds, then append extra characters that are still copied.
Seen in 1 report
-
Store an integer-valued HeapNumber constant where a Smi is expected so the elided check lets a pointer land in a Smi-typed field.
Seen in 1 report
-
Strip SSRC and msid lines so the receiver treats the stream as unsignaled, then renegotiate to reach the promotion path.
Seen in 1 report