Skip to content

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.

Back to the lesson 451 to 500 of 756
  1. 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
  2. Mapping the null page is required to exploit the null pointer dereference.

    Seen in 1 report
  3. Memory corruption in the SNMP service used to bypass authentication on network devices.

    Seen in 1 report
  4. Mix an advanced blend equation on one draw buffer with a standard equation on another to violate the required state.

    Seen in 1 report
  5. Modify the array from inside the array_walk callback so the internal pointer goes stale.

    Seen in 1 report
  6. 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
  7. Move a value between two objects' maps so that deleting one leaves the other pointing at freed memory.

    Seen in 1 report
  8. 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
  9. Navigate to a page with a 3D annotation and call deletePages to free the annotation before it is used again.

    Seen in 1 report
  10. Negotiate data channels via SDP to reach the SCTP code path that is otherwise not exercised.

    Seen in 1 report
  11. Negotiating the minimum block size makes the bounds check underflow so a long filename passes.

    Seen in 1 report
  12. Omit the terminating asterisk on an aperture definition line so the parser tokenises a freed buffer.

    Seen in 1 report
  13. On Switch, remote code execution required bypassing ASLR, unlike on 3DS and Wii U where it was immediate.

    Seen in 1 report
  14. Opening an HTML file first in the same Word instance changes state before the crafted document is opened.

    Seen in 1 report
  15. Out-of-range register values created by missing clamping after certain instructions were propagated through arithmetic instructions into large or negative memory offsets.

    Seen in 1 report
  16. Overflow adjacent global memory to reach the Secure Code Descriptor and forge the public key used for verification.

    Seen in 1 report
  17. Overlap a third annotation with an existing one and give it the same type to reach the type confusion.

    Seen in 1 report
  18. Override the toString function of a choice field item so rendering frees the field.

    Seen in 1 report
  19. 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
  20. Overwrite the link map to point the runtime search path at a trusted directory and load a malicious library from there.

    Seen in 1 report
  21. Ownership is validated before an event fires but not re-checked afterwards, so the element can be adopted elsewhere.

    Seen in 1 report
  22. Pad a response with many harmless characters before the binary content to push it past the inspected window.

    Seen in 1 report
  23. Pair a malicious Bluetooth device to reach the BIP service on the vehicle.

    Seen in 1 report
  24. Parse HTML with attributes via the string parser with the HTML MIME type to reach the attribute array reallocation.

    Seen in 1 report
  25. Pass a field object to addIcon instead of the expected type.

    Seen in 1 report
  26. Pass a floating-point argument to new Array so the array is mistyped as small integers.

    Seen in 1 report
  27. Pass a negative scale to corrupt the internal one definition.

    Seen in 1 report
  28. Pass a non-integer object as the first argument so it is treated as a pointer.

    Seen in 1 report
  29. 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
  30. 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
  31. Persuade an authenticated user to import the crafted certificate when direct upload is not possible.

    Seen in 1 report
  32. Pick a stride and entry count whose product overflows a 64-bit integer so the size check passes with too few pages.

    Seen in 1 report
  33. Place a comment as the first DTD child so the entity declaration is processed as a node.

    Seen in 1 report
  34. Place a continue before variable initialisation in the loop body to skip the hole check.

    Seen in 1 report
  35. Place a vertex behind the W=0 plane so clipping splits quads and inflates the batch beyond the index buffer.

    Seen in 1 report
  36. Place the closing bracket before the opening bracket so the pointer subtraction underflows into a huge copy size.

    Seen in 1 report
  37. 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
  38. Placing the content type option before the explicit length option bypasses the length-aware conversion and falls back to strlen.

    Seen in 1 report
  39. Point an object index at an unrelated object type so the loader uses it as the expected type.

    Seen in 1 report
  40. 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
  41. Populate the YCbCr info of a transferable resource with crafted values against a standard shared image.

    Seen in 1 report
  42. Pressing the Escape key after loading the page is what triggers the overflow.

    Seen in 1 report
  43. Printing a crafted document via Microsoft Print to PDF triggers the converter flaw.

    Seen in 1 report
  44. 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
  45. Queue a window close before issuing a window rect change so the close runs during the fullscreen exit.

    Seen in 1 report
  46. Queue several pointer events in one frame where the first destroys the focused window.

    Seen in 1 report
  47. Quoting the name value does not avoid the one-byte overflow.

    Seen in 1 report
  48. Race processing against teardown to free a handler while it is still in use.

    Seen in 1 report
  49. Race stream teardown against connection shutdown so the library keeps a reference to a freed stream.

    Seen in 1 report
  50. Race the virtual machine and VGA critical sections to wake a VGA thread early and bypass a check.

    Seen in 1 report