Re:Ruby 2.x Universal RCE Deserialization Gadget Chain
by woodruffw on Thursday November 08, 2018 @08:17PM
(#18411652)
`Marshal.load` was already always unsafe -- what this changes is the difficulty of writing a malicious payload.
Previously (for Marshal anyways, not sure about pickle), you would need to know a least a little bit about how the input is being used, so that you could monkeypatch one of the methods eventually used by it. This makes it possible to get RCE without any knowledge of the codebase.
Previously (for Marshal anyways, not sure about pickle), you would need to know a least a little bit about how the input is being used, so that you could monkeypatch one of the methods eventually used by it. This makes it possible to get RCE without any knowledge of the codebase.