XOOPS Multiple Scripts mydirname Parameter Arbitrary Command Injection

high Nessus Plugin ID 35326

Synopsis

The remote web server contains a PHP application that is prone to command injection attacks.

Description

The version of XOOPS installed on the remote host fails to filter user-supplied input to the 'mydirname' parameter of the 'onupdate.php', 'notification.php', and 'oninstall.php' scripts under the application's 'xoops_lib/modules/protector' directory before passing it to PHP 'eval()' functions.

Provided PHP's 'register_globals' setting is enabled, an unauthenticated attacker can exploit these issues to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Unknown at this time.

Plugin Details

Severity: High

ID: 35326

File Name: xoops_mydirname_cmd_exec.nasl

Version: 1.19

Type: remote

Family: CGI abuses

Published: 1/9/2009

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 6.5

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

CVSS v3

Risk Factor: High

Base Score: 8.8

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

Vulnerability Information

CPE: cpe:/a:xoops:xoops

Required KB Items: www/xoops

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Exploitable With

Elliot (XOOPS 2.3.2 RCE)

Reference Information

BID: 33176