Rapid7 Vulnerability & Exploit Database

Matt Wright guestbook.pl Arbitrary Command Execution

Back to Search

Matt Wright guestbook.pl Arbitrary Command Execution

Disclosed
11/05/1999
Created
05/30/2018

Description

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(s)

  • aushack <patrick@osisecurity.com.au>

Platform

Linux,Unix,Windows

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/guestbook_ssi_exec
msf exploit(guestbook_ssi_exec) > show targets
    ...targets...
msf exploit(guestbook_ssi_exec) > set TARGET < target-id >
msf exploit(guestbook_ssi_exec) > show options
    ...show and set options...
msf exploit(guestbook_ssi_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;