J-Security Center

Title: PHPNuke Multiple Cross-Site Scripting Vulnerability

Severity: MODERATE

Description:

PHPNuke is a website creation/maintenance tool.

PHPNuke is prone to cross-site scripting attacks.

HTML tags are not filtered from links to the 'user.php' script.

The 'user.php' script, used to view user information, accepts a variable called 'uname'. The value of this variable is not sanitized before it is included in PHP generated HTML, output to the client.

As a result, it is possible to create a link to this page on a PHPNuke site, which contains malicious script code. When the link is clicked by an unsuspecting web user, the malicious script code will be executed on the user in the context of the site running PHPNuke.

This attack may be used to steal a user's cookie-based authentication credentials for the vulnerable PHPNuke site.

PostNuke is also affected by a number of these issues.

This problem has also been reported with other scripts included in the PHPNuke package. More specifically, modules.php, upload.php, friend.php and submit.php are also vulnerable under some circumstances. Different parameters to the user.php script may also be sufficient for a cross-site scripting attack.

An additional cross-site scripting vulnerability has been reported in modules.php for PostNuke.

**It has been reported that the cross-site scripting issue affecting the 'ttitle' parameter of 'modules.php' script has been re-introduced in newer versions of the PHPNuke application. This issue is reported to affect versions 7.2 and prior.

Affected Products:

  • Francisco Burzi PHP-Nuke 1.0.0
  • Francisco Burzi PHP-Nuke 2.5.0
  • Francisco Burzi PHP-Nuke 3.0.0
  • Francisco Burzi PHP-Nuke 4.0.0
  • Francisco Burzi PHP-Nuke 4.3.0
  • Francisco Burzi PHP-Nuke 4.4.0
  • Francisco Burzi PHP-Nuke 4.4.1a
  • Francisco Burzi PHP-Nuke 5.0.0
  • Francisco Burzi PHP-Nuke 5.0.1
  • Francisco Burzi PHP-Nuke 5.1.0
  • Francisco Burzi PHP-Nuke 5.2.0
  • Francisco Burzi PHP-Nuke 5.2.0a
  • Francisco Burzi PHP-Nuke 5.3.1
  • Francisco Burzi PHP-Nuke 6.0.0
  • Francisco Burzi PHP-Nuke 6.5.0
  • Francisco Burzi PHP-Nuke 6.5.0 BETA 1
  • Francisco Burzi PHP-Nuke 6.5.0 FINAL
  • Francisco Burzi PHP-Nuke 6.5.0 RC1
  • Francisco Burzi PHP-Nuke 6.5.0 RC2
  • Francisco Burzi PHP-Nuke 6.5.0 RC3
  • Francisco Burzi PHP-Nuke 6.6.0
  • Francisco Burzi PHP-Nuke 6.7.0
  • Francisco Burzi PHP-Nuke 6.9.0
  • Francisco Burzi PHP-Nuke 7.0.0
  • Francisco Burzi PHP-Nuke 7.0.0 FINAL
  • Francisco Burzi PHP-Nuke 7.1.0
  • Francisco Burzi PHP-Nuke 7.2.0
  • PostNuke Development Team PostNuke 0.62.0
  • PostNuke Development Team PostNuke 0.63.0
  • PostNuke Development Team PostNuke 0.64.0

References:

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.