JSPWiki Edit.jsp editor Parameter Traversal Local File Inclusion

critical Nessus Plugin ID 57322

Synopsis

The remote web server hosts a JSP script that's affected by a local file inclusion vulnerability.

Description

The remote web server hosts JSPWiki, an open source WikiWiki engine built using standard J2EE components.

The installed version of JSPWiki fails to sanitize user input to the 'editor' parameter of the 'Edit.jsp' script of directory traversal sequences before using it to include and execute an arbitrary local JSP file. An unauthenticated, remote attacker could exploit this issue to disclose sensitive information or execute arbitrary code on the affected host, subject to the privileges under which the web server operates.

Note that this install is also likely to be affected by a cross-site scripting vulnerability, although Nessus has not tested for that.

Solution

Upgrade to JSPWiki 2.6.1 or later as that is reported to address the issue.

See Also

https://seclists.org/bugtraq/2008/Feb/198

Plugin Details

Severity: Critical

ID: 57322

File Name: jspwiki_editor_lfi.nasl

Version: 1.12

Type: remote

Family: CGI abuses

Published: 12/16/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.1

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

Vulnerability Information

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/10/2011

Vulnerability Publication Date: 2/13/2008

Reference Information

CVE: CVE-2008-1231

BID: 27785

CWE: 22