************************************************************** * CODEBUG Labs * Advisory #1 * Title: AddAdmin Bug * Author: Pierquinto 'Mantra' Manco * Product: PHP-Nuke 7.4 * Type: XSS * Web: http://www.mantralab.org [ITALIAN SITE] * ************************************************************** Remote Privilege Escalation - ) Description PHP-Nuke is a very bugged web CMS, version 7.4 has critical XSS bug that permit to an attacker to gain Admin access to the system. The bug is very old but we can bypass the patch sending data by POST instead of GET. - ) Proof-of-Concept Create a HTML file with this lines:
- ) Patch Put in admin.php a routine to check GET and POST global array. (maybe COOKIE too) ************************************************************** http://www.mantralab.org admin@mantralab.org **************************************************************