Rapid7 Vulnerability & Exploit Database

Logsign Remote Command Injection

Back to Search

Logsign Remote Command Injection

Disclosed
02/26/2017
Created
05/30/2018

Description

This module exploits a command injection vulnerability in Logsign. By exploiting this vulnerability, unauthenticated users can execute arbitrary code under the root user. Logsign has a publicly accessible endpoint. That endpoint takes a user input and then use it during operating system command execution without proper validation. This module was tested against 4.4.2 and 4.4.137 versions.

Author(s)

  • Mehmet Ince <mehmet@mehmetince.net>

Platform

Python

Architectures

python

Development

References

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/logsign_exec
msf exploit(logsign_exec) > show targets
    ...targets...
msf exploit(logsign_exec) > set TARGET < target-id >
msf exploit(logsign_exec) > show options
    ...show and set options...
msf exploit(logsign_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

;