MailWatch for MailScanner mailscanner/docs.php doc Parameter Traversal Local File Inclusion

medium Nessus Plugin ID 34293

Synopsis

The remote web server contains a PHP script that is susceptible to a local file include attack.

Description

The remote host is running MailWatch for MailScanner, a web-based front-end to MailScanner written in PHP.

The version of MailWatch for MailScanner installed on the remote host fails to sanitize user-supplied input to the 'doc' parameter of the 'docs.php' script before using it to include PHP code. Regardless of PHP's 'register_globals' setting, an unauthenticated attacker may be able to leverage this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Unknown at this time.

Plugin Details

Severity: Medium

ID: 34293

File Name: mailwatch_doc_file_include.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 9/26/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.1

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

Vulnerability Information

CPE: cpe:/a:mailwatch:mailwatch

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Reference Information

CVE: CVE-2008-5991

BID: 31378

CWE: 22