IntegraMod Security fix

This is where youll find security related information.
Discuss Integramod/phpbb security issues here.

Moderator: Integra Moderator

PostAuthor: Flex » Mon Aug 28, 2006 7:15 pm

"Unregistered";p="14399" wrote:did u both downloaded the hack_update2.rar ? and overrighted them?


I did.
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

PostAuthor: Unregistered » Mon Aug 28, 2006 7:25 pm

its not ok to overight those files.. u need to replace with ur old files..either ways, am gettin the same "Hacking attempt... Details Logged" as well.. some pages can access.. others cant..
Last edited by Unregistered on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
J O N H | P L A Y E R

Unregistered
Sr Integra Member
Sr Integra Member
 
Posts: 254
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 07, 2006 2:51 pm
Cash on hand: 0.00

Re: IntegraMod Security fix

PostAuthor: Solomon » Mon Aug 28, 2006 7:27 pm

"Solomon";p="14396" wrote:BUG: ACP/Security/
    /forum/admin/admin_security.php
    /forum/admin/admin_security.php?mode=gd_info
    /forum/admin/admin_security.php?mode=php_info
    /forum/admin/admin_security.php?mode=members
    /forum/admin/admin_security.php?mode=search
    /forum/admin/admin_security.php?mode=special
I get: "Hacking attempt... Details Logged" in the right window


More:
ACP/AMOD+Admin :ra: Manage, Quota Limit, Shadow Attachments, Sync Attachments
ACP/Extensions/Extension management,Extension Group Management, Forbidden Extensions, Special Categories
ACP/Forum Admin :ra: FTR configuration, FTR users
ACP/General Admin :ra: Add New
ACP/Links :ra: PCP Wizard
ACP/Photo Album :ra: Package module
ACP/Style Admin :ra: IPN Log, Configuration
ACP/Tools/PCP Info
ACP/User Admin <img> Junior Admin, Points Configuration, Private Messages, Private Messages Archive, Prune Users, Subscription,
Last edited by Solomon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr]

Solomon
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 9:22 am
Cash on hand: 0.00

PostAuthor: Flex » Mon Aug 28, 2006 7:28 pm

So I shouldn't have replaced the files that got attached as a fix?, Should I replaced them back from my last good backup?
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

PostAuthor: Solomon » Mon Aug 28, 2006 7:31 pm

"Unregistered";p="14399" wrote:did u both downloaded the hack_update2.rar ? and overrighted them?

yes downloaded them
no I used winmerge for the code edits shown on the first post
doesnt matter, doing code edits manually resulted in same problem
Last edited by Solomon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr]

Solomon
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 9:22 am
Cash on hand: 0.00

PostAuthor: Unregistered » Mon Aug 28, 2006 7:34 pm

open ur admin_security.php

FIND

$phpbb_root_path = '../';

REPLACE WITH

$phpbb_root_path = "./../";


... let me know how it goes..maybe we might have to open all the files and edit this ? <img>
Last edited by Unregistered on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
J O N H | P L A Y E R

Unregistered
Sr Integra Member
Sr Integra Member
 
Posts: 254
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 07, 2006 2:51 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Mon Aug 28, 2006 7:38 pm

Guys some of you have different versions and additional mods added... It is impossible to deal with these individually...

All edit will always relate to 140 default install... If you have over-written these three files replace them with you backup and do the edits one file at a time checking to see if thinks work...

The latest edits (in first post) only alter the php_root_path if it contains illegal links i.e. it must be either ./ or ./../ or blank and its length must be less that 5 characters. This way it should not effect the path for other files...

Note is has been necessary to edit the fixes three or four time as fixes become available so alway make sure you have the latest files and remember to save before editing especially if you have added mods.
Mike
Last edited by Michaelo on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

Re: IntegraMod Security fix

PostAuthor: Solomon » Mon Aug 28, 2006 7:43 pm

BTW in functions.php there is two instances of "// BEGIN Style Select MOD"

Lines 663-665
Code: Select all
      // BEGIN Style Select MOD     global $HTTP_GET_VARS, $HTTP_POST_VARS, $HTTP_COOKIE_VARS;     // END Style Select MOD  


You should update the instructions in the first post to find the instance around line 820.
Last edited by Solomon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr]

Solomon
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 9:22 am
Cash on hand: 0.00

PostAuthor: Unregistered » Mon Aug 28, 2006 7:44 pm

mike, i can access the Security / Sepecial - after i replaced $phpbb_root_path = '../'; to $phpbb_root_path = "./../"; in admin_security.php

do i have to replace all the files which i cant access?
Last edited by Unregistered on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
J O N H | P L A Y E R

Unregistered
Sr Integra Member
Sr Integra Member
 
Posts: 254
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 07, 2006 2:51 pm
Cash on hand: 0.00

Re: IntegraMod Security fix

PostAuthor: Unregistered » Mon Aug 28, 2006 7:46 pm

Solomon, i knew someone wil ask that quesation..

FIND

Code: Select all
    //         // Set up style         //     // BEGIN Style Select MOD  
Last edited by Unregistered on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
J O N H | P L A Y E R

Unregistered
Sr Integra Member
Sr Integra Member
 
Posts: 254
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 07, 2006 2:51 pm
Cash on hand: 0.00

PostAuthor: Solomon » Mon Aug 28, 2006 7:51 pm

"Unregistered";p="14408" wrote:mike, i can access the Security / Sepecial - after i replaced $phpbb_root_path = '../'; to $phpbb_root_path = "./../"; in admin_security.php

do i have to replace all the files which i cant access?

same here
Last edited by Solomon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr]

Solomon
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat May 20, 2006 9:22 am
Cash on hand: 0.00

PostAuthor: Flex » Mon Aug 28, 2006 7:56 pm

Well, question is... Do we have to replaced as (as unregistered mentioned) all files with $phpbb_root_path = "./../"; ?
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

PostAuthor: Unregistered » Mon Aug 28, 2006 7:58 pm

we need a YES from an admin.. so we can start workin on it and its been a long day so far <img>
Last edited by Unregistered on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
J O N H | P L A Y E R

Unregistered
Sr Integra Member
Sr Integra Member
 
Posts: 254
Likes: 0 post
Liked in: 0 post
Joined: Wed Jun 07, 2006 2:51 pm
Cash on hand: 0.00

PostAuthor: Michaelo » Mon Aug 28, 2006 8:04 pm

Unregistered, you have to replace the code between these comments
// BEGIN Style Select MOD
and
// END Style Select MOD

... is used to represent code rather that writing all of it :wink:

[color=red]New update to fix the ./ and ../ problem in ACP...
This edit is no longer required]
Last edited by Michaelo on Mon Aug 28, 2006 8:25 pm, edited 1 time in total.
Kiss Portal Engine phpbbireland (status: Released)
User avatar
Michaelo
Administrator
Administrator
 
Posts: 1646
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 6:14 pm
Cash on hand: 0.00
Location: Dublin, Ireland

PostAuthor: Flex » Mon Aug 28, 2006 8:08 pm

Dont go to sleep, we need you!!! and it's only 13:08!!! he he he I know I know.
Last edited by Flex on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http]My integramod site <img>[/url]

Flex
Sr Integra Member
Sr Integra Member
 
Posts: 221
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 4:09 pm
Cash on hand: 0.00

PreviousNext

Return to Forum Security

Who is online

Registered users: Google [Bot], Vendethiel