Rapid7 Vulnerability & Exploit Database

Gitlist Unauthenticated Remote Command Execution

Back to Search

Gitlist Unauthenticated Remote Command Execution

Disclosed
06/30/2014
Created
05/30/2018

Description

This module exploits an unauthenticated remote command execution vulnerability in version 0.4.0 of Gitlist. The problem exists in the handling of a specially crafted file name when trying to blame it.

Author(s)

  • drone
  • Brandon Perry <bperry.volatile@gmail.com>

Platform

Unix

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/linux/http/gitlist_exec
msf exploit(gitlist_exec) > show targets
    ...targets...
msf exploit(gitlist_exec) > set TARGET < target-id >
msf exploit(gitlist_exec) > show options
    ...show and set options...
msf exploit(gitlist_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

;