PortalApp forums.asp sortby Parameter SQL Injection

high Nessus Plugin ID 29897

Synopsis

The remote web server contains an ASP script that is prone to a SQL injection attack.

Description

The remote host is running PortalApp, a CMS and portal system written in ASP.

The version of PortalApp installed on the remote host fails to sanitize input to the 'sortby' parameter of the 'forums.asp' script before using it in a database query. An unauthenticated attacker may be able to exploit this issue to manipulate database queries, leading to disclosure of sensitive information (such as users and their passwords defined to the affected application), modification of data, or attacks against the underlying database.

The application is also reportedly affected by similar issues in several other scripts, although Nessus has not tested for them.

Solution

Apply the patches for 'common/i_utils.asp', 'forums.asp' and 'content.asp' referenced in the posting above.

See Also

http://www.aspapp.com/forums.asp?ForumId=4&TopicId=3449

Plugin Details

Severity: High

ID: 29897

File Name: portalapp_sortby_sql_injection.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 1/9/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Vulnerability Information

Required KB Items: www/ASP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2008-4613

BID: 27170

CWE: 89