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

Multi-Lingual E-Commerce LFI / Disclosure / Upload

Multi-Lingual E-Commerce LFI / Disclosure / Upload
Posted Apr 20, 2009
Authored by Salvatore Fresta

Multi-Lingual E-Commerce System version 0.2 suffers from local file inclusion, information disclosure, and arbitrary file upload vulnerabilities.

tags | exploit, arbitrary, local, vulnerability, file inclusion, info disclosure, file upload
SHA-256 | 4058f3aa641a75ac609c2d754c5d178e4a360fceb09345d21444e4111d376374

Multi-Lingual E-Commerce LFI / Disclosure / Upload

Change Mirror Download
*******   Salvatore "drosophila" Fresta   *******

[+] Application: Multi-lingual E-Commerce System
[+] Version: 0.2
[+] Website: http://sourceforge.net/projects/mlecsphp/

[+] Bugs: [A] Local File Inclusion
[B] Information Disclosure
[C] Arbitrary File Upload

[+] Exploitation: Remote
[+] Date: 19 Apr 2009

[+] Discovered by: Salvatore "drosophila" Fresta
[+] Author: Salvatore "drosophila" Fresta
[+] Contact: e-mail: drosophilaxxx@gmail.com


*************************************************

[+] Menu

1) Bugs
2) Code
3) Fix


*************************************************

[+] Bugs


- [A] Local File Inclusion

[-] Risk: hight
[-] File affected: index.php

This bug allows a guest to include local files.
The following is the vulnerable code:

...

if (isset($_GET['lang'])) { $_SESSION['lang'] = $_GET['lang'];}

...

<?
include($include_path.'/inc/'.$_GET['page'].'-'.$_SESSION['lang'].'.php');
?>

...


- [B] Information Disclosure

[-] Risk: medium
[-] File affected: database.inc

This file contains reserved informations such as
the username and the password for connecting to
the database. Using .inc extension only, the
content is visible.

- [C] Arbitrary File Upload

[-] Risk: medium
[-] File affected: product_image.php

In the admin directory there are no files that
check if the user has admin privileges. For this
reason a guest can execute the files contained in
this directory. product_image.php contains a form
that allows to upload files on the system but
does not contain functions that check the files
extensions, however a user can upload arbitrary
files.


*************************************************

[+] Code


- [A] Local File Inclusion

http://www.site.com/path/index.php?page=../../../../../etc/passwd
Login or Register to add favorites

File Archive:

December 2024

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