what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

upb.admin.txt

upb.admin.txt
Posted Sep 6, 2002
Authored by Hipik | Site hackeri.org

Ultimate PHP Board (UPB) prior to Public Beta v1.0b allows users to gain admin access. Exploit information included.

tags | exploit, php
SHA-256 | c35cf6e4280462e0ca9fbf65fd7ea760784d5113643f85bd3ec2c1e0b0baec4c

upb.admin.txt

Change Mirror Download

product: Ultimate PHP Board (UPB)
version: Public Beta 1.0b !!FIXED
vendor: http://www.webrc.ca/php/upb.php
summary: upb allow to any user have access levels 3 (to have admin premissions)
exploit: yes
Fix: yes
Exploited by Hipik__ memmbers of www.hackeri.org Bosnians Security Portal
email:hipik@mail.ru
__________________
I have been registred user 'Hipik__' and I have memmbes permissions.
After that I Log on UPB Forum and I run the following URL:
http://www.example.com/admin_members.php
and I can put myself Admin permissions.
And that is it. I can cange evrythin on page.
Also if you don't have admin permissions you can go on followinf URL:
http://www.example.com/admin_config.php
and you can manipulet UPB forum Title bar Name color or you can go on following URL:
http://www.example.com/admin_cat.php
and you can manipulete Forum Category or if you wan delete forums whitout Admin
permissions go on following URL:
http://www.example.com/admin_forum.php
_________________________
Exploit:
Register on UPB Forum and Log on then go on one of the following URL:
http://www.example.com/admin_members.php
http://www.example.com/admin_config.php
http://www.example.com/admin_cat.php
http://www.example.com/admin_forum.php
_________________________
Vulnerable code:
in files admin_members.php, admin_config.php, admin_cat.php, admin_forum.php
and other admin_ files contains this line code:

if(is_logged_in($user_env, $pass_env, $power_env, $id_env)) {

This line of code don't check does user have Admin premissions. Just check does is he Log on.
_________________________
Solution:
This line of code in files admin_members.php, admin_config.php, admin_cat.php, admin_forum.php
and other admin_ files:

if(is_logged_in($user_env, $pass_env, $power_env, $id_env)) {

Change with this line of code:

if(is_logged_in($user_env, $pass_env, $power_env, $id_env) && $power_env == 3) {

________________________
NickName: Hipik__
E-mail: hipik@mail.ru
URL: http://www.hackeri.org
IRC Server: irc.dal.net Channel:#hackeri
The beast Security group in Bosnia
--------------------------------------------------------------
Sory for my pour English :(
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close