Module Builder DownloadModule Traversal Arbitrary File Disclosure

medium Nessus Plugin ID 27597

Synopsis

The remote web server contains a PHP script that is affected by an information disclosure vulnerability.

Description

The remote host is running Module Builder, a module for building SugarCRM modules.

The version of Module Builder installed on the remote host fails to validate user-supplied input to the 'file' parameter of the 'modules/Builder/DownloadModule.php' script before using it to return the contents of a file. An unauthenticated, remote attacker can exploit this issue to view arbitrary files on the remote host, subject to the privileges of the web server user id.

Note that unless PHP's 'magic_quotes_gpc' setting is disabled, an attacker will only be able to retrieve files with names ending with '.zip'.

Solution

Unknown at this time.

Plugin Details

Severity: Medium

ID: 27597

File Name: modulebuilder_info_disclosure.nasl

Version: 1.17

Type: remote

Family: CGI abuses

Published: 10/31/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: 4.5

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

Vulnerability Information

CPE: cpe:/a:modulebuilder:modulebuilder

Required KB Items: www/sugarcrm

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 10/31/2007

Reference Information

CVE: CVE-2007-5812

BID: 26275

CWE: 22