Loading HuntDB...

Struct type confusion RCE

Critical
S
shopify-scripts
Submitted None
Reported by h72

Vulnerability Details

Technical details and impact analysis

Code Injection
Heya! I've been poking at mruby a bit more and I've found a vulnerability that allows an attacker to take control of the instruction pointer. I've attached a proof of concept script that when run in mruby will jump to `0x0000133713371337` and segfault. While the proof of concept script just jumps to an attacker controlled address and crashes, it would almost certainly be possible to achieve full remote code execution, especially given an arbitrary read/write primitive (which is easily created using the same techniques as in the proof of concept) The proof of concept script has detailed annotations throughout about how it works, but I'm also happy to clarify anything if need be :) Cheers, ███████

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Bounty

$18000.00

Submitted

Weakness

Code Injection