From 4ec71f9272baa871361f6c79dce928f5c4965117 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Tue, 18 Apr 2017 14:20:25 -0500 Subject: [PATCH 1/2] Add a reference to the original PR This was the source of first public disclosure, so may as well include it. --- modules/exploits/linux/http/huawei_hg532n_cmdinject.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb b/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb index 6c9fd17ee2..7132f467e8 100644 --- a/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb +++ b/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb @@ -53,7 +53,10 @@ class MetasploitModule < Msf::Exploit::Remote ] ], 'DefaultTarget' => 0, - 'DisclosureDate' => 'Apr 15 2017' + 'DisclosureDate' => 'Apr 15 2017', + 'References' => [ + ['URL', 'https://github.com/rapid7/metasploit-framework/pull/8245'] + ], )) register_options( [ From 1fcc1f74170abe11db182594e41294a4cf393c29 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Tue, 18 Apr 2017 14:27:44 -0500 Subject: [PATCH 2/2] Trailing comma. Why isn't this Lua? --- modules/exploits/linux/http/huawei_hg532n_cmdinject.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb b/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb index 7132f467e8..b41217467a 100644 --- a/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb +++ b/modules/exploits/linux/http/huawei_hg532n_cmdinject.rb @@ -56,7 +56,7 @@ class MetasploitModule < Msf::Exploit::Remote 'DisclosureDate' => 'Apr 15 2017', 'References' => [ ['URL', 'https://github.com/rapid7/metasploit-framework/pull/8245'] - ], + ] )) register_options( [