
hd4real
Ray 3.5 "sIncPath" File Inclusion Vulnerability
Comments
| hd4real | 91 days ago![]() |
![]() | ![]() | |
![]() | Hack even works with "register_globals" off. I have mine off and got hacked anyway. | ![]() |
![]() | ![]() | ![]() |
| sammie | 90 days ago![]() |
![]() | ![]() | |
![]() | i did post a fix long back for this 3 months ago add the fllowing code to your ray/modules/global/inc/content.inc.php add it at the top above the 1st require once command if (isset($_REQUEST['sIncPath'])) die ('Hacking attempt'); so it looks like this : if (isset($_REQUEST['sIncPath'])) die ('Hacking attempt'); require_once($sIncPath . "xml.inc.php"); require_once($sIncPath . "constants.inc.php"); require_once($sIncPath . "apiFunctions.inc.php"); this stops any remote includes being used next edit /plugins/safehtml/HTMLSax3.php add this at the top above the require once if (isset($_REQUEST['dir'])) die ('Hacking attempt'); so it looks like this: if (isset($_REQUEST['dir'])) die ('Hacking attempt'); require_once( "{$dir['plugins']}safehtml/HTMLSax3/States.php" ); require_once( "{$dir['plugins']}safehtml/HTMLSax3/Decorators.php" ); this stops remote access to your directories | ![]() |
![]() | ![]() | ![]() |
View 1 replies to this comment
| sammie | 90 days ago![]() |
![]() | ![]() | |
![]() | you're welcome sweetie. just for anyone that wants to know, i believe the first part can be placed in any file that has the "require_once($sIncPath..." in it. this fix is for all versions of dolphin 5.6 to date this fix will not affect anything within Dolphin, but if you have added google maps, then it would affect that, and other things you may have added that are not part of Dolphin and being called from outside your server add it at the top above the 1st require once command if (isset($_REQUEST['sIncPath'])) die ('Hacking attempt'); so it looks like this : if (isset($_REQUEST['sIncPath'])) die ('Hacking attempt'); require_once($sIncPath . "whatever is here"); | ![]() |
![]() | ![]() | ![]() |
| praveenkv1988 | 90 days ago![]() |
![]() | ![]() | |
![]() | This file inclusion attack was fixed in version 6.1.3 I have found another security issue. I am working on it. Soon I will post the solution here. | ![]() |
![]() | ![]() | ![]() |
Post a Comment
Please login to post a comment.


































