CGIWrap Charset Specification Weakness Error Message XSS

medium Nessus Plugin ID 33279

Synopsis

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

Description

The remote host is running CGIWrap, a wrapper for CGI scripts to provide enhanced security.

The version of CGIWrap installed on the remote host does not specify a charset when responses are for error pages. An attacker may be able to leverage this issue to inject arbitrary HTML and script code into a user's browser to be executed whithin the security context of the affected site. This only affects some browsers like Internet Explorer.

Solution

Update to version 4.1 of CGIWrap.

See Also

http://jvn.jp/en/jp/JVN45389864/index.html

http://cgiwrap.sourceforge.net/changes.html

Plugin Details

Severity: Medium

ID: 33279

File Name: cgiwrap_error_page_handling_xss.nasl

Version: 1.13

Type: remote

Published: 6/30/2008

Updated: 1/19/2021

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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2008-2852

BID: 29811

CWE: 79

Secunia: 30765