GForge account/verify.php confirm_hash Parameter XSS

medium Nessus Plugin ID 26927

Synopsis

The remote web server contains a PHP script that is affected by a cross-site scripting vulnerability.

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 'confirm_hash' parameter of the 'account/verify.php' script before using it to generate dynamic output. An unauthenticated, remote attacker may be able to leverage this issue to inject arbitrary HTML or script code into a user's browser to be executed within the security context of the affected site.

This version may have several other vulnerabilities related to SQL injection and cross-site scripting, especially if the remote host is running a Debian build of GForge. Nessus has not checked for these issues.

Solution

Apply the appropriate vendor patch.

See Also

http://web.archive.org/web/20071110182313/http://gforge.org/tracker/?func=detail&atid=105&aid=3094&group_id=1

http://www.nessus.org/u?2193dcbf

https://lists.debian.org/debian-security-announce/2009/msg00130.html

Plugin Details

Severity: Medium

ID: 26927

File Name: gforge_confirm_hash_xss.nasl

Version: 1.26

Type: remote

Published: 10/8/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:gforge:gforge

Required KB Items: www/gforge

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 9/10/2007

Reference Information

CVE: CVE-2007-3918, CVE-2009-4069

BID: 25923, 35424

CWE: 79

SECUNIA: 35458