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.
-
Combine a large precision on a floating-point conversion with a very large width on a second conversion to overflow the size calculation in PHP sprintf.
Seen in 1 report
-
Combine a renderer flaw with local interaction and environment preparation to escape the sandbox.
Seen in 1 report
-
Combine an ASLR bypass with a separate remote code execution flaw to run code in the browser memory layout.
Seen in 1 report
-
Combine an existing cross-site scripting flaw with a referer bypass to reach the STK_PROCESS API from a logged-in victim's browser on a router.
Seen in 1 report
-
Combine setRangeText with repeated scrolling and worker spawning inside queueMicroTask to invalidate layout state in Firefox text layout.
Seen in 1 report
-
Consume the renderer's virtual address space so a memory mapping fails at the right moment.
Seen in 1 report
-
Control the freed memory via heap spray to influence CSS selector matching.
Seen in 1 report
-
Map coprocessor page tables through a kernel primitive to reach and hook always-on processor firmware, getting around kernel text protection.
Seen in 1 report
-
Corrupt an adjacent message's size field and read the message back to leak kernel heap memory.
-
Corrupt the heap-allocated AMSI context so the scan call errors out and the client lets the content through.
Seen in 1 report
-
Craft the number of atoms value together with coordinate lines to control the allocation and loop in ORCA file parsing.
Seen in 1 report
-
Craft two bind PDUs to reach the vulnerable code path before triggering the integer overflow in the group table expansion.
Seen in 1 report
-
Craft the confused value's bytes as a fake expanded-object header pointing at a fake methods table to redirect an indirect native call.
Seen in 1 report
-
Crash the GPU process to trigger a Mojo disconnect, then remove the iframe and race the compositor thread against destruction.
Seen in 1 report
-
Create many objects with out-of-object double Symbol.toStringTag values and take a heap snapshot under GC stress.
Seen in 1 report
-
$500 Medium
-
-
Create multiple bindings of the same object so one can be destroyed while a callback is pending.
-
Create the buffer inside the context lost handler so the GL buffer is never generated, then use it after restore.
Seen in 1 report
-
Declare a Count larger than the real number of Kids so the mismatch drives the out-of-bounds access in a PDF page tree.
Seen in 1 report
-
Declare a one-byte fragment length in the record header while the message length field claims the full size, so the parser and the reassembler disagree.
Seen in 1 report
-
Declare an unusual number of colour components in the frame header to defeat a buffer size calculation that assumes three or four.
Seen in 1 report
-
Declare fewer points in the header than the number of lines that follow, so the write index runs past the array.
Seen in 1 report
-
Declare invariant gl_FragColor with draw buffers enabled and a non-core GLSL output type on the GL backend.
Seen in 1 report
-
Declare more vertices in an aperture macro than are actually pushed so the copy reads past the stack.
Seen in 1 report
-
Defeat KASLR with a prefetch side channel before leaking kernel memory.
Seen in 1 report
-
Defeat null pointer dereference protection and disable SELinux, AppArmor, LSM and auditing.
-
Delete the pam environment file first so the vulnerable code path is reachable.
Seen in 1 report
-
Deleting the query after the error does not unregister it because its active state was cleared.
Seen in 1 report
-
Deliver a malformed attachment over a messaging service so parsing happens without user interaction.
-
Deliver the attack as a link so the victim does not need to open, read or click anything.
Seen in 1 report
-
Destroy a frame while callbacks are still queued to reach a use-after-free.
-
Detach the buffer from inside a user callback that runs while the copy is still queued.
Seen in 1 report
-
Detach the cached matrix buffer by transferring it through a message channel before constructing the ray.
Seen in 1 report
-
Disable the GPU and use fake media devices so the encoder path runs in a controlled test setup.
Seen in 1 report
-
Disable verification during blockchain import so the corrupt block package reaches the database layer.
Seen in 1 report
-
Disable write xor execute protections after gaining arbitrary read and write in a renderer.
Seen in 1 report
-
Disguise a PDF as a .gif attachment so the message pipeline processes it automatically without user interaction.
Seen in 1 report
-
Dismissing the conversion and document-protection prompts still reaches the flaw.
Seen in 1 report
-
Distribute the malformed asset from a malicious game server to remote clients rather than requiring local file access.
Seen in 1 report
-
Download a crafted image and get the user to highlight it in the GTK file chooser so the preview parser runs.
Seen in 1 report
-
Duplicate or reuse a handle after a failed transfer so stale internal pointers are used again.
Seen in 1 report
-
Embed OLE autolink objects in a Word document so Internet Explorer loads a remote script when the document is opened.
Seen in 1 report
-
Embed the malicious game server in an iframe on a web page so the client queries it without the user choosing to connect.
Seen in 1 report
-
Enable accessibility and run a cycle collection during a selection operation to free the presentation shell.
Seen in 1 report
-
Enable background finalisation and repeatedly create globals, transplant objects and nuke cross-compartment wrappers to reach the crash.
Seen in 1 report
-
Enable early pushes and send traffic that overwrites the pushing request's pool with push link header values.
Seen in 1 report
-
Enable network throttling in the developer tools to reach the vulnerable stream path.
Seen in 1 report
-
Enabling editing and allowing accompanying content to load triggers the flaw.
Seen in 1 report
-
Entering fullscreen in one tab and closing it during the print preview nested loop destroys the object mid-callback.
Seen in 1 report
-
Exhaust GPU memory during an active query so an out-of-memory error skips the GPU synchronisation at teardown.
Seen in 1 report
-
Exhaust virtual memory first so the property access path is reached under memory pressure.
Seen in 1 report