elttam.com

Ruby 4.0 Universal RCE Deserialization Gadget Chain

pentestercrab · 25 points · 4 comments · 3小时前 · 打开原文

评论

2 条预览评论 · 正在加载完整讨论
Nextgrid1小时前

Doesn't this already require to be "on the other side of the airtight hatchway", or am I missing something? The Marshal.load docs explicitly have a warning that you should not pass it untrusted data: https://docs.ruby-lang.org/en/master/Marshal.html#module-mar...

sebiw1小时前

Which brings us to the old saying: Do not deserialize untrusted data. In the context of Rubygems and their specs this obviously is harder to manage but dependencies such as Rubygems are and will always be part of your app's Trusted Computing Base.