In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ]  Related Changesets ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000947 [In-Portal CMS] Security bug report always 2010-12-13 10:09 2011-09-19 16:08
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.3-B1
Status closed Product Version 5.1.1 Target Version 5.1.3
Time EstimateNo estimate
Summary 0000947: Create new folder with restricted access from Web
Description Currently most of the logs and debug info can be accesses via Web which is high security risk.

To address this we need to create a new folder under "/system" with restricted access from Web.

Folder name will be ".restricted", it will have 777 permissions and will be used for:

1. ALL type of logs (gateways, shipping, PHP, Web requests)
2. Debug files

NOTES:

1. all of above Logs should be checked and updated to use this NEW folder.

2. add .htaccess which will deny any access to that folder.


Additional Information New setting in config.php RestrictedPath = "/system/.restricted"
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/pi4bweIypGs/discussion
Change Log Message Created new restricted folder for logs
Estimate Points 0
Attached Files patch file icon restricted_folder_core.patch [^] (6,111 bytes) 2011-05-23 05:15 [Show Content]
patch file icon restricted_folder_modules.patch [^] (5,998 bytes) 2011-05-23 05:15 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0001079closed (5.1.3)!COMMUNITY Script "clear_cache.sh" is not Deleting Debug files 

-  Notes
User avatar (0003496)
alex (manager)
2011-05-23 05:16

Done.

Please create "/system/.restricted" folder and make it writable before testing.

This folder will commited and it's write permissions are already checked during installation/upgrade.
User avatar (0003501)
Dmitry (manager)
2011-05-23 17:45

Tested okay, please commit.
User avatar (0003515)
alex (manager)
2011-06-01 02:50

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000947: Create new folder with restricted access from Web
User avatar (0003839)
alex (manager)
2011-09-19 16:08

Closing, since 5.1.3 release has been released.

- Related Changesets
In-Portal CMS: 5.1.x r14365
Timestamp: 2011-06-14 08:56:45
Author: alex
Details ] Diff ]
Bug 0000947: Create new folder with restricted access from Web
1. Forgot to commit changes to curl_helper.php file
mod - /in-portal/branches/5.1.x/core/units/helpers/curl_helper.php Diff ] File ]
In-Portal CMS: 5.1.x r14360
Timestamp: 2011-06-01 02:50:46
Author: alex
Details ] Diff ]
Fixes 0000947: Create new folder with restricted access from Web
mod - /in-portal/branches/5.1.x/core/install.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/application.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/session/session.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/startup.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/debugger.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/utility/http_query.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/units/helpers/cat_dbitem_export_helper.php Diff ] File ]
mod - /in-portal/branches/5.1.x/system/.htaccess Diff ] File ]
add - /in-portal/branches/5.1.x/system/.restricted File ]
Modules :: In-Commerce: 5.1.x r14359
Timestamp: 2011-06-01 02:45:49
Author: alex
Details ] Diff ]
Bug 0000947: Create new folder with restricted access from Web
mod - /w/in-commerce/branches/5.1.x/gw_notify.php Diff ] File ]
mod - /w/in-commerce/branches/5.1.x/units/gateways/gw_classes/google_checkout.php Diff ] File ]
mod - /w/in-commerce/branches/5.1.x/units/shipping_quote_engines/usps.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2011-09-19 16:08 alex Note Added: 0003839
2011-09-19 16:08 alex Status resolved => closed
2011-07-07 13:49 Dmitry Relationship added parent of 0001079
2011-06-14 08:56 alex Changeset attached 5.1.x r14365
2011-06-01 02:50 alex Note Added: 0003515
2011-06-01 02:50 alex Status reviewed and tested => resolved
2011-06-01 02:50 alex Fixed in Version => 5.1.3-B1
2011-06-01 02:50 alex Resolution open => fixed
2011-06-01 02:50 alex Changeset attached 5.1.x r14360
2011-06-01 02:45 alex Changeset attached 5.1.x r14359
2011-06-01 02:44 alex Changeset attached 5.1.x r14358
2011-05-23 17:45 Dmitry Note Added: 0003501
2011-05-23 17:45 Dmitry Assigned To !COMMUNITY => alex
2011-05-23 17:45 Dmitry Status needs testing => reviewed and tested
2011-05-23 05:16 alex Time Estimate Removed 2 =>
2011-05-23 05:16 alex Note Added: 0003496
2011-05-23 05:16 alex Assigned To alex => !COMMUNITY
2011-05-23 05:16 alex Developer => alex
2011-05-23 05:16 alex Status needs work => needs testing
2011-05-23 05:15 alex File Added: restricted_folder_modules.patch
2011-05-23 05:15 alex File Added: restricted_folder_core.patch
2011-05-19 16:18 Dmitry Description Updated View Revisions
2011-05-18 13:16 Dmitry Time Estimate Added 2
2011-05-18 13:16 Dmitry Assigned To Dmitry => alex
2011-05-18 13:16 Dmitry Additional Information Updated View Revisions
2011-04-04 11:59 Dmitry Fixed in Version 5.1.3 =>
2011-04-04 11:59 Dmitry Target Version Icebox => 5.1.3
2011-04-04 11:59 Dmitry Assigned To => Dmitry
2011-04-04 11:59 Dmitry Status active => needs work
2011-04-04 11:59 Dmitry Fixed in Version => 5.1.3
2010-12-13 10:09 Dmitry New Issue
2010-12-13 10:09 Dmitry Reference => https://groups.google.com/d/topic/in-portal-dev/pi4bweIypGs/discussion
2010-12-13 10:09 Dmitry Change Log Message => Created new restricted folder for logs



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker