In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
180 [In-Portal CMS] Install / Upgrages feature request N/A 2009-08-04 18:40 2009-10-03 07:56
Dmitry  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.1  
0
0000180: Add "Security Check" Step to Installation process
Add "Security Check" Step to Installation process, after Theme selection.

1. Permissions Check:

- /index.php (Secure (in greed) or Vulnerable)
- /config.php (Secure (in greed) or Vulnerable)
- /admin/index.php (Secure (in greed) or Vulnerable)

Message for users (don't include this line):

[MESSAGE IN RED]
For security reasons it's highly recommended to set 755 permissions on above files to prevent hacking attempts.
[/MESSAGE IN RED]


2. Executing PHP in writable folders:

- Result of creating and executing PHP file(s) in /system (or /system/images) (Secure (in greed) or Vulnerable (in red))

Message for users if Failed (don't include this line):

[MESSAGE IN RED]
For security reasons it's highly recommended disable the access (execution) to PHP files within /system folder and it's subfolders.
[/MESSAGE IN RED]

You can do this by:

- changing your httpd.conf file to deny requests for all *.php files.

- renaming .htaccess-sample (located in /system) to .htaccess so it overrides default Apache settings.

Note that "AllowOverride LIMIT" option option should be enabled by your host.

Check whether PHP file(s) can be created/executed in /system and/or /system/images folders.

As was suggested let's use cURL for this tests.
Issue History
2009-10-03 07:56 administrator Note Added: 0000729
2009-10-03 07:56 administrator Status resolved => closed
2009-09-18 07:22 alex Type bug report => feature request
2009-09-18 07:22 alex Reproducibility always => N/A
2009-08-05 11:02 alex Note Added: 0000252
2009-08-05 11:00 alex Fixed in Version => 5.0.1
2009-08-05 10:59 alex Note Added: 0000251
2009-08-05 10:59 alex Status reviewed and tested => resolved
2009-08-05 10:59 alex Resolution open => fixed
2009-08-05 10:59 alex Changeset attached 5.0.x r12199
2009-08-04 19:15 Dmitry Priority critical => normal
2009-08-04 19:15 Dmitry Priority normal => critical
2009-08-04 18:55 Dmitry Category Security => Install / Upgrages
2009-08-04 18:44 Dmitry Changeset attached 5.0.x r12175
2009-08-04 18:43 Dmitry Changeset attached 5.0.x r12174
2009-08-04 18:40 Dmitry New Issue
2009-08-04 18:40 Dmitry Status active => reviewed and tested
2009-08-04 18:40 Dmitry Assigned To => alex

Notes
(0000251)
alex   
2009-08-05 10:59   
Fix committed to 5.0.x branch. Commit Message:

1. Fixes 0000180: Add "Security Check" Step to Installation process.
2. Iframe in thickbox windows was 1px lower, then window as the result vertical scrollbar was overlapping with bottom border of window.
3. Bug 0000073: In-Portal CMS No Color in Header (missed SQL data for skins).
4. ADMIN_DIRECTORY constant converted from safeDefine to define.
(0000252)
alex   
2009-08-05 11:02   
Reminder sent to: Dmitry

Check moved from "admin/index.php" file to newly created "security" step in installation process. New step will be in each installation preset (e.g. installation maintenance, license change etc.).

Please review design of that step, seems a little bit unfinished to me. Also add help text for this step in file: "core/install/steps_db.xml".
(0000729)
administrator   
2009-10-03 07:56   
Closing issues from 5.0.1 version, because version was already released.