Maia Mailguard login.php lang Parameter Local File Inclusion

medium Nessus Plugin ID 25673

Synopsis

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

Description

The remote host is running Maia Mailguard, a spam and virus management system written in PHP.

The version of Maia Mailguard installed on the remote host fails to sanitize user input to the 'lang' parameter before using it to include PHP code in 'login.php'. Regardless of PHP's 'register_globals' setting, an unauthenticated, remote attacker may be able to exploit 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

Apply the patch from Changeset 1184.

See Also

https://seclists.org/bugtraq/2007/Jul/40

http://www.nessus.org/u?6a68919a

Plugin Details

Severity: Medium

ID: 25673

File Name: mailguard_lang_file_include.nasl

Version: 1.22

Type: remote

Family: CGI abuses

Published: 7/6/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/6/2007

Reference Information

CVE: CVE-2007-3619

BID: 24770