Title: PHP Nuke User Settings Modification Vulnerability
Severity: MODERATE
Description:
By supplying values for the global variable $user, the remote attacker can cause PHP to execute an SQL query which results in changes to display settings for a specific target user. This is due to a failure to validate user -supplied input to the PHP script.
The exploitable query is as follows:
mysql_query("update users set umode='$mode', uorder='$order', thold='$thold' where uid='$cookie[0]'");
The $mode , $order and $thold variables are PHP global variables which can be supplied by a remote attacker. The uid must be obtained from a cookie that is also provided by the user. Attackers can construct a variable that will be used in place of the cookie and submit it to PHP-Nuke as a http form variable. It is thus possible for an attacker to submit configuration values for an arbitrary user.
Affected Products:
- Francisco Burzi PHP-Nuke 4.3.0
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.