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.
-
Making the size addition wrap produces a small value that passes the maximum header size check before the copy uses the original large length.
Seen in 1 report
-
Mapping the null page is required to exploit the null pointer dereference.
Seen in 1 report
-
Memory corruption in the SNMP service used to bypass authentication on network devices.
Seen in 1 report
-
Mix an advanced blend equation on one draw buffer with a standard equation on another to violate the required state.
Seen in 1 report
-
Modify the array from inside the array_walk callback so the internal pointer goes stale.
Seen in 1 report
-
Modify the root blob in the segment directory shadow table so a later term has a very large prefix length and a small suffix length.
Seen in 1 report
-
Move a value between two objects' maps so that deleting one leaves the other pointing at freed memory.
Seen in 1 report
-
Native runtime bugs sit on a heap outside the JavaScript engine cage and memory protection keys, so a sandbox escape can reach other tenants' memory.
Seen in 1 report
-
Navigate to a page with a 3D annotation and call deletePages to free the annotation before it is used again.
Seen in 1 report
-
Negotiate data channels via SDP to reach the SCTP code path that is otherwise not exercised.
Seen in 1 report
-
Negotiating the minimum block size makes the bounds check underflow so a long filename passes.
Seen in 1 report
-
Omit the terminating asterisk on an aperture definition line so the parser tokenises a freed buffer.
Seen in 1 report
-
On Switch, remote code execution required bypassing ASLR, unlike on 3DS and Wii U where it was immediate.
Seen in 1 report
-
Opening an HTML file first in the same Word instance changes state before the crafted document is opened.
Seen in 1 report
-
Out-of-range register values created by missing clamping after certain instructions were propagated through arithmetic instructions into large or negative memory offsets.
-
Overflow adjacent global memory to reach the Secure Code Descriptor and forge the public key used for verification.
Seen in 1 report
-
Overlap a third annotation with an existing one and give it the same type to reach the type confusion.
Seen in 1 report
-
Override the toString function of a choice field item so rendering frees the field.
Seen in 1 report
-
Overwrite the kernel core_pattern through a memory corruption bug so it is later passed to a shell and yields root.
Seen in 1 report
-
Overwrite the link map to point the runtime search path at a trusted directory and load a malicious library from there.
-
Ownership is validated before an event fires but not re-checked afterwards, so the element can be adopted elsewhere.
-
Pad a response with many harmless characters before the binary content to push it past the inspected window.
Seen in 1 report
-
Pair a malicious Bluetooth device to reach the BIP service on the vehicle.
-
Parse HTML with attributes via the string parser with the HTML MIME type to reach the attribute array reallocation.
-
Pass a field object to addIcon instead of the expected type.
Seen in 1 report
-
Pass a floating-point argument to new Array so the array is mistyped as small integers.
Seen in 1 report
-
Pass a negative scale to corrupt the internal one definition.
Seen in 1 report
-
Pass a non-integer object as the first argument so it is treated as a pointer.
Seen in 1 report
-
Passing the clamped length check and then relying on the raw length being used for the write gets past the validation.
Seen in 1 report
-
Patching the client library to load an older trustlet image from a writable directory lets the attacker reach the vulnerable memcpy.
Seen in 1 report
-
Persuade an authenticated user to import the crafted certificate when direct upload is not possible.
Seen in 1 report
-
Pick a stride and entry count whose product overflows a 64-bit integer so the size check passes with too few pages.
-
Place a comment as the first DTD child so the entity declaration is processed as a node.
Seen in 1 report
-
Place a continue before variable initialisation in the loop body to skip the hole check.
Seen in 1 report
-
Place a vertex behind the W=0 plane so clipping splits quads and inflates the batch beyond the index buffer.
Seen in 1 report
-
Place the closing bracket before the opening bracket so the pointer subtraction underflows into a huge copy size.
Seen in 1 report
-
Place the negative zero in a field of an object that escape analysis later dematerialises so the comparison stays until simplified lowering.
Seen in 1 report
-
Placing the content type option before the explicit length option bypasses the length-aware conversion and falls back to strlen.
-
Point an object index at an unrelated object type so the loader uses it as the expected type.
Seen in 1 report
-
Point the function pointer at a gadget that leaks a heap pointer through encryption output, then build a jump-oriented chain.
Seen in 1 report
-
Populate the YCbCr info of a transferable resource with crafted values against a standard shared image.
Seen in 1 report
-
Pressing the Escape key after loading the page is what triggers the overflow.
Seen in 1 report
-
$5,000 High
-
-
Printing a crafted document via Microsoft Print to PDF triggers the converter flaw.
Seen in 1 report
-
Profile the victim's user agent and browser version before serving exploit chunks, and fetch configuration and encrypted chunks from a separate server.
Seen in 1 report
-
Queue a window close before issuing a window rect change so the close runs during the fullscreen exit.
Seen in 1 report
-
Queue several pointer events in one frame where the first destroys the focused window.
Seen in 1 report
-
Quoting the name value does not avoid the one-byte overflow.
-
Race processing against teardown to free a handler while it is still in use.
-
Race stream teardown against connection shutdown so the library keeps a reference to a freed stream.
Seen in 1 report
-
Race the virtual machine and VGA critical sections to wake a VGA thread early and bypass a check.
Seen in 1 report