GForge CVSWeb CGI cvsweb.php PATH_INFO Parameter Arbitrary Command Execution

high Nessus Plugin ID 25338

Synopsis

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

Description

The remote host is running GForge, a web-based project for collaborative software development.

The version of GForge installed on the remote host fails to sanitize user-supplied input to the 'plugins/scmcvs/cvsweb.php' script before using it to execute a shell command. An unauthenticated attacker can leverage this issue to execute arbitrary code on the remote host subject to the privileges of the web server user id.

Solution

Upgrade to the latest SVN version as a fix for this issue was added with revision 6038.

See Also

http://www.nessus.org/u?c76a0805

Plugin Details

Severity: High

ID: 25338

File Name: gforge_cvsweb_code_exec.nasl

Version: 1.27

Type: remote

Family: CGI abuses

Published: 5/26/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:M/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

CPE: cpe:/a:gforge:gforge

Required KB Items: www/gforge

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 5/24/2007

Reference Information

CVE: CVE-2007-0246

BID: 24141