Joomla! reset.php Reset Token Validation Forgery

critical Nessus Plugin ID 33882

Synopsis

The remote web server contains a PHP application that is affected by a vulnerability in its password reset mechanism.

Description

The version of Joomla! running on the remote host is affected by a password reset vulnerability in components/com_user/models/reset.php script due to improper validation of user-supplied input to the 'token' parameter before using it to construct database queries in the confirmReset() function. An unauthenticated, remote attacker can exploit this issue by entering a single quote character when prompted for a token in the 'Forgot your Password' form, thereby causing a reset of the password of the first enabled user, typically an administrator.

Solution

Upgrade to Joomla! 1.5.6 or later. Alternatively, patch the components/com_user/models/reset.php script, as referenced in the vendor advisory.

See Also

http://www.nessus.org/u?e6dcfebf

Plugin Details

Severity: Critical

ID: 33882

File Name: joomla_password_reset_token.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 8/13/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

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

Patch Publication Date: 8/12/2008

Vulnerability Publication Date: 8/12/2008

Reference Information

CVE: CVE-2008-3681

BID: 30667

CWE: 264

SECUNIA: 31457