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.
-
Trigger the flaw through a malicious website when the browser plugin is enabled, not only by opening a file.
Seen in 1 report
-
Trigger type initialisation for an already-loaded API with a non-existent member name while holding a cached method reference.
Seen in 1 report
-
Triggering a kernel use-after-free from within any sandbox by calling IOKit or mach APIs with serialised arguments.
Seen in 1 report
-
Truncating a raster size to a signed 16-bit value and sign-extending it gets around the copy loop bound.
Seen in 1 report
-
Turn a limited heap overflow into an arbitrary allocation by overwriting the next-pointer of a freed chunk.
Seen in 1 report
-
Two different recursion groups with colliding hashes are treated as equal when the left-hand side has a generic heap type.
Seen in 1 report
-
$55,000 High
-
-
URL-encode the long target parameter so it is decoded after the length check.
-
Use a .gif file extension to skip the JavaScript image transcoder and reach the native parser directly.
Seen in 1 report
-
Use a 32-bit build so the offset and size sum wraps before the bounds check in PHP EXIF thumbnails.
Seen in 1 report
-
Use a 64-bit build where the underflow produces an arbitrary null byte write in PHP file reading.
Seen in 1 report
-
Use a bundle name length near the maximum signed integer so the capacity calculation goes negative and skips the size check.
Seen in 1 report
-
Use a caching allocator to force the freed connection's address to be reused by a new connection.
Seen in 1 report
-
Use a Calculate action that deletes pages to free many objects, then use a freed object.
Seen in 1 report
-
Use a colour value above 255 on a palette image to reach the out-of-bounds read in PHP image cropping.
Seen in 1 report
-
Use a compromised renderer to supply more than one WebAuthn extension to the browser process.
Seen in 1 report
-
Use a conversion callback that removes the parameter being converted in XSLT processing.
Seen in 1 report
-
Use a crafted length or offset field in the file to read past the real buffer size in PDF DST parsing.
-
Use a crafted PEM certificate so the seal initialisation returns a negative key length that reaches the string copy.
Seen in 1 report
-
Use a degenerate loop bound with a strict comparison so the loop analysis treats an infinite loop as finite and the iteration cap is not injected.
Seen in 1 report
-
Use a field Format action that changes the current page to fire a page event that frees the field object.
Seen in 1 report
-
Use a form field OnBlur callback to destroy an annotation and free associated objects.
Seen in 1 report
-
Use a format combination that forces the CPU readback fallback and a large non-zero z offset on a 3D texture.
Seen in 1 report
-
Use a getter on the object prototype to intercept promise resolution and free the object mid-use.
Seen in 1 report
-
Use a getter that deprecates maps and add and delete a property before cloning with spread syntax to reach the confused write.
Seen in 1 report
-
$25,000 High
-
-
Use a javascript: URI with a non-UTF-8 charset as a worker script URL to reach a non-thread-safe service.
-
Use a kernel memory corruption reachable with CAP_NET_ADMIN to escape a Kubernetes container to the host.
Seen in 1 report
-
$10,000
-
-
Use a large allocation on a 32-bit build so the pointer addition wraps and the bounds check passes.
Seen in 1 report
-
Use a large binary plist in file metadata to groom the heap so an overflow lands on a chosen object.
-
Use a long non-null-terminated wide string so the null scan runs past the allocation and leaks adjacent heap memory.
Seen in 1 report
-
Use a loop increment that is a ternary or a function call so the forward-progress pass treats the loop as finite.
Seen in 1 report
-
Use a malformed record with an extended tag to reach the underflow path in ASN.1 decoding.
Seen in 1 report
-
Use a mutation observer to navigate away during a microtask checkpoint so the parser object is freed while still in use.
Seen in 1 report
-
Use a negative offset to read outside the intended memory range in PHP grapheme functions.
Seen in 1 report
-
Use a negative value so an increment wraps and a length check passes.
Seen in 1 report
-
Use a non-hardened EGL context so the large-variable validation is skipped.
Seen in 1 report
-
Use a non-standard property name on an edge element so the first pass silently skips it and the buffer size comes out as zero.
Seen in 1 report
-
Use a non-WebGL context type so the robust access attribute is dropped and draw-call bounds validation is disabled.
Seen in 1 report
-
Use a NOP sled so the exact shellcode start address does not matter.
Seen in 1 report
-
Use a null byte after a space in one distinguished name so the comparison passes or fails unexpectedly.
Seen in 1 report
-
Use a packet type value above the maximum allowed to index outside the DCERPC statistics array.
Seen in 1 report
-
Use a raw void pointer as callback context so the dangling reference is not protected.
Seen in 1 report
-
Use a reference buffer index that is in range but never populated so an early error path skips the fence wait.
Seen in 1 report
-
Use a renderer use-after-free to escape the sandbox from a compromised renderer.
Seen in 1 report
-
Use a second header marker with an invalid precision to make the parser compute one size and write with another.
Seen in 1 report
-
Use a self-assignment with a string index in a loop to leak memory, then a second function to write out of bounds.
Seen in 1 report
-
Use a server-pushed map download to deliver a malformed overview image to a connecting client.
Seen in 1 report
-
Use a small valid base resolution so the sorted dimension check passes while the layer is huge.
Seen in 1 report
-
Use a storage volume whose logical sector size is larger than the usual 512 bytes to make the copy length exceed the buffer.
Seen in 1 report
-
Use a subsampling factor that does not match the declared width to defeat the buffer size calculation.
Seen in 1 report
-
Use a template with pages spawned from it and a form reset to reach the Format handler indirectly.
Seen in 1 report