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.
-
Use a title longer than the fixed buffer and include at least one atom so the molecule writer is called.
Seen in 1 report
-
Use a type confusion in the CDM child to escape the content sandbox into the GMP process.
-
Use a valueOf callback on the final count argument to detach typed-array backing stores after conversion but before the native read.
Seen in 1 report
-
Use a very large buffer and an emulated format so the destination size wraps, then update bytes at a large offset.
Seen in 1 report
-
Use a WebAssembly memory load at a high offset so the offset addition overflows negative.
Seen in 1 report
-
Use amplification, padding and alignment in the SLC payload to reach a GOT entry.
-
Use an arbitrary read/write primitive from a memory bug to overwrite a GOT entry and run commands outside the sandbox.
Seen in 1 report
-
Use an attacker-controlled length field in the presentation result list to move the pointer outside the packet buffer.
Seen in 1 report
-
Use an extremely long locale name to overflow the internal 32-bit index.
Seen in 1 report
-
Use an extremely long locale string to overflow the fixed-size stack buffer inside ICU.
Seen in 1 report
-
Use an illegal Unicode sequence in a search pattern so a conversion error is negated into a large index.
Seen in 1 report
-
Use an out-of-bounds access in an audio component to leak or bypass address randomisation.
Seen in 1 report
-
Use an out-of-bounds read function as an XOR oracle to leak one byte at a time.
Seen in 1 report
-
Use an unusually large ssizDepth value so the size calculation sign-extends into an undersized allocation.
Seen in 1 report
-
Use anonymous temporaries built with inline constructors instead of declared variables to avoid the size check.
Seen in 1 report
-
Use direct parameter access in format specifiers to avoid crashing on extra arguments and read values from a world-readable log.
-
Use drawIndirect to bypass CPU-side validation after the buffer size has been truncated to zero.
Seen in 1 report
-
Use gamma values of opposite signs to trigger the integer overflow.
Seen in 1 report
-
Use heap grooming and tcache poisoning to turn the overflow into remote code execution.
Seen in 1 report
-
Use heap grooming with service requests and registrations to shape the heap before the overflow.
-
Use Huffman table selector indices outside the valid range to break assumptions made during table parsing.
Seen in 1 report
-
Use later headers to reset the dictionary size to zero after it was already set.
Seen in 1 report
-
Use legal subtyping to cast a struct with a const field to one with a mutable field of a broader reference type.
Seen in 1 report
-
$55,000 High
-
-
Use loops and recursive function calls to trigger garbage collection while tracing a baseline stub.
Seen in 1 report
-
Use many nested level characters in the magic file to push the index past the grown buffer.
Seen in 1 report
-
Use more than 42 folders with large unpack stream counts so the summed count overflows.
Seen in 1 report
-
Use nested event handlers and node adoption to re-enter the image error path repeatedly.
Seen in 1 report
-
Use nested toString callbacks and property assignments to reach a vulnerable method during exception handling.
Seen in 1 report
-
Use nine or more distinct YCbCr images with a unique pipeline description so the sampler layout array reallocates.
Seen in 1 report
-
Use non-finite colour values as map keys, then discard a layer so the erase fails and leaves a dangling pointer.
Seen in 1 report
-
Use out-of-object double fields for Symbol.toStringTag so the no-allocation guard is bypassed during snapshot generation.
Seen in 1 report
-
$500 Medium
-
-
Use special paths where the reported size differs from the real target length to defeat a size-based buffer allocation.
Seen in 1 report
-
Use Symbol.species callbacks to defeat the assumption that Array.slice has limited side effects.
Seen in 1 report
-
Use the arbitrary write to zero the top bytes of a function pointer in a kernel ops structure, then trigger that function through a device file.
Seen in 1 report
-
Use the attribute option with a long attribute and value line to overflow the fixed stack buffers.
Seen in 1 report
-
Use the overflow to overwrite the RPATH pointer in the link map and point the library search path at an attacker-controlled directory.
-
Use the same file for cookie input and output so a slightly oversized record breaks loading and wipes the jar.
Seen in 1 report
-
Use the transfer option to preserve custom per-plane strides on a VideoFrame.
Seen in 1 report
-
Use unusual tag combinations such as high sample counts, unusual bit depths and planar configuration to get past size assumptions.
Seen in 1 report
-
Use unusually large xSiz and yTsiz values so the size multiplication overflows.
Seen in 1 report
-
Using a Multipath TCP listener to make the race easier to win.
Seen in 1 report
-
Using high-entropy input and specific encoder settings makes the estimated buffer size too small.
Seen in 1 report
-
Validation only blocked program changes while transform feedback was active and unpaused, so changing program during a paused state slipped through.
Seen in 1 report
-
Vary the canvas dimensions to change the size of the overflowing write.
Seen in 1 report
-
Vary the solid bit and encoding method between the first and second archive items to break the decoder's assumed initialisation order.
Seen in 1 report
-
Viewing a contact's certificates triggers the flaw.
Seen in 1 report
-
When classic control-flow hijacking is blocked, pursue non-control-data exploitation instead.
Seen in 1 report
-
When supervisor mode execution prevention is off, redirect a system call to userland code; otherwise corrupt credentials directly.
Seen in 1 report
-
Where normal conditions do not trigger the flaw, the variation is to force sustained low-memory conditions so the untrusted pointer dereference becomes exploitable.
Seen in 1 report
-
Winning a race condition to move from Medium Integrity Level to Local Service.
Seen in 1 report