Sun Java System Web Server Search Module XSS

Medium Nessus Plugin ID 32136

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 3

Synopsis

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

Description

The remote host is running Sun Java System Web Server, a Java application for user provisioning and identity auditing in enterprise environments.

The version of Sun Java System Web Server installed on the remote host fails to sanitize user-supplied input to its Search module before using it to generate dynamic content. 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.

Solution

Either edit the default search web application file named 'index.jsp', which is located at '<WS-install>/lib/webapps/search/index.jsp' to remove the line containing the text 'out.println(s);' or apply the appropriate patch as described in the vendor advisory above.

See Also

https://download.oracle.com/sunalerts/1018981.1.html

Plugin Details

Severity: Medium

ID: 32136

File Name: sun_java_web_server_search_xss.nasl

Version: 1.22

Type: remote

Published: 2008/05/09

Updated: 2020/08/05

Dependencies: 10107, 10815

Risk Information

Risk Factor: Medium

VPR Score: 3

CVSS Score Source: CVE-2008-2166

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:H/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:sun:java_system_web_server

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: false

Exploit Ease: No exploit is required

Patch Publication Date: 2008/05/06

Reference Information

CVE: CVE-2008-2166

BID: 29087

Secunia: 30133

IAVB: 2008-B-0045-S

CWE: 79