Joomla! CMS com_search Component 'searchword' Parameter RCE

critical Nessus Plugin ID 25992

Synopsis

The remote web server contains a PHP application that is affected by a remote code execution vulnerability.

Description

The version of Joomla! running on the remote host is affected by a remote code execution vulnerability within the com_search/views/search/tmpl/default_results.php script due to improper sanitization of user-supplied input to the 'searchword' parameter before passing it to the eval() function. An unauthenticated, remote attacker can exploit this issue to disclose arbitrary files or execute arbitrary PHP code on the remote host, subject to the privileges of the web server user ID.

Solution

Upgrade to Joomla! version 1.5 RC1 or later.

See Also

https://seclists.org/fulldisclosure/2007/Jul/447

Plugin Details

Severity: Critical

ID: 25992

File Name: joomla_searchword_cmd_exec.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 9/5/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

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

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

CPE: cpe:/a:joomla:joomla%5c%21

Required KB Items: www/PHP, installed_sw/Joomla!

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 7/22/2007

Vulnerability Publication Date: 7/22/2007

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2007-4187

BID: 24997

CWE: 94