PAJAX < 0.5.2 Multiple Vulnerabilities

high Nessus Plugin ID 21227

Synopsis

The remote web server contains a PHP script that is susceptible to multiple issues.

Description

The remote host is running PAJAX, a PHP library for remote asynchronous objects in JavaScript.

The version of PAJAX installed on the remote host fails to validate input to the 'pajax/pajax_call_dispatcher.php' script before using it in a PHP 'eval()' function. An unauthenticated attacker can exploit this flaw to execute arbitrary command on the remote host subject to the privileges of the web server user id.

In addition, the application also reportedly fails to validate input to classnames before using it in a PHP 'require()' function in 'Pajax.class.php', which allows for local file include attacks.

Solution

Upgrade to PAJAX version 0.5.2 or later.

See Also

https://www.redteam-pentesting.de/advisories/rt-sa-2006-001.txt

http://www.auberger.com/pajax/3/

Plugin Details

Severity: High

ID: 21227

File Name: pajax_052.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 4/16/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.0

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Vulnerability Publication Date: 4/14/2006

Exploitable With

Metasploit (PAJAX Remote Command Execution)

Reference Information

CVE: CVE-2006-1551, CVE-2006-1789

BID: 17519