vCard define.inc.php match Parameter Remote File Inclusion

high Nessus Plugin ID 20133

Synopsis

The remote web server contains a PHP script that is prone to a remote file include vulnerability.

Description

The remote host appears to be running vCard, a web-based electronic postcard application from Belchior Foundry and written in PHP.

The version of vCard installed on the remote host fails to sanitize the 'match' parameter before using it in the 'admin/define.inc.php' script to read other files. By leveraging this flaw, an unauthenticated attacker may be able to execute script files from third-party hosts.

Solution

Restrict access to the vCard's 'admin' directory using, say, a .htaccess file.

See Also

https://seclists.org/bugtraq/2005/Oct/353

Plugin Details

Severity: High

ID: 20133

File Name: vcard_match_file_include.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 11/2/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2005-3332

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 10/25/2005

Reference Information

CVE: CVE-2005-3332

BID: 15207