Spyke

Posts

ruby_infosec·Ruby InfoSecbypostmodern

Proposal to deprecate "|command-here" inputs for Kernel.open() accepted

Dozens of Ruby-related CVEs have been caused by user input being passed to the top-level Kernel.open() method, which not only accepts paths or URIs (if open-uri has been loaded), but also "|command-here" commands which are then opened using IO.popen() resulting in Remote Command Execution (RCE) vulnerabilities. In the next minor Ruby version (3.3.0) a deprecation warning will be printed if a "|command-here" input is given to Kernel.open(). Hopefully, in Ruby 4.0 this insecure feature will be removed.

https://bugs.ruby-lang.org/issues/19630Open linkView original on infosec.pub
2
ruby_infosec·Ruby InfoSecbypostmodern

Finding all TLD typos using Ruby and ronin-support

You may have recently read a news story about how a typo in a US military email address (@.mil -> @.ml) accidentally caused sensitive military secrets to be sent to a similar Mali email address for years.

What if I told you, you could use Ronin to find all of the one-character-missing valid typos for all of the TLDs?

https://ronin-rb.dev/blog/2023/07/17/finding-tld-typos-using-ronin-support.htmlOpen linkView original on infosec.pub
3

You reached the end