SnortReport nmap.php target Parameter Arbitrary Command Execution

high Nessus Plugin ID 49088

Synopsis

The remote web server contains a PHP script that allows execution of arbitrary commands.

Description

The remote web server hosts SnortReport, an add-on module for Snort.

The version of this application installed on the remote host fails to sanitize input to the 'target' parameter of the 'nmap.php' script before using it in a call to the PHP 'exec()' function.

An unauthenticated, remote attacker can leverage this issue to execute arbitrary code on the remote host subject to the privileges under which the web server operates.

Solution

Unknown at this time.

See Also

http://twitter.com/hdmoore/statuses/22630926839

Plugin Details

Severity: High

ID: 49088

File Name: snortreport_target_cmd_exec.nasl

Version: 1.11

Type: remote

Family: CGI abuses

Published: 9/2/2010

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 8/31/2010

Exploitable With

Metasploit (Snortreport nmap.php/nbtscan.php Remote Command Execution)

Elliot (Snort Report 1.3.2 RCE)