MDN

Go Back   Mambo - Forums Closed for posting > Mambo 4.5.5 - Stable > General Questions

Reply
 
Thread Tools Search this Thread Display Modes
Old August 17th, 2005, 14:03   #1
beuvema
 
beuvema's Avatar
 
Join Date: Nov 2004
Posts: 26
beuvema is on a distinguished road
Default Safety checklist for Mambo

Dear Mambers

reading through some forums I noticed several sites that might have been hacked!

Does anyone have a checklist with items pointing toward a safe mambo environment. Or does anyone know in what forum I can find a discussion on it?

eg. - configuration.php attributes set to?
- white index.php in every map?
- changing passwords on FTP, MySQL

ect.

We all want to have a safe site maybe we can help other mambers with a Security Checklist for Mambo! (Probably exists but can't find it)

Greetz Beuvema
beuvema is offline   Reply With Quote
Old August 17th, 2005, 14:10   #2
keliix06
 
Join Date: Oct 2003
Location: Minneapolis, MN
Posts: 1,161
keliix06 is on a distinguished road
Default

The core install of Mambo has a blank index.html file in every folder. You can turn of directory listings using .htaccess, so that is not an issue anyway.

If you don't need to change your configuration.php file you can leave it at 0644. In some environments that will still allow Mambo to write to it, in others not. Permissions will be totally controlled by your hosting environment.

Not sure why you would ever need to change those. Just make sure it's at least 8 characters and a mix of: uppercase, lowercase, numbers, special characters. That is plenty secure.

The reason a checklist can't exist is because every server can be different.
__________________
Doyle Lewis
BuyHTTP Internet Services
www.mambo-hosting.com - Mambo Optimized Hosting
www.mambodemo.com - Free flash tutorials for Mambo
keliix06 is offline   Reply With Quote
Old August 17th, 2005, 14:32   #3
beuvema
 
beuvema's Avatar
 
Join Date: Nov 2004
Posts: 26
beuvema is on a distinguished road
Default

Thx for your quick response,

Of course different installations are possible, but aren't most installations done on Apache / Linux servers? And this must be merely used as a guideline!

For the htaccess part I need some assistance. Is a .htaccess file with following code safe enough? or should something be added?

Code:
order allow,deny
allow from all
require valid-user
Authname Enter_Your_Password        
Authtype Basic
AuthUserFile /home/sites/www.sitename.com/web/hta/.htpasswd
Greetz Beuvema
beuvema is offline   Reply With Quote
Old August 17th, 2005, 15:25   #4
keliix06
 
Join Date: Oct 2003
Location: Minneapolis, MN
Posts: 1,161
keliix06 is on a distinguished road
Default

No need for the last 4 lines, that's only if you want to use .htaccess authentication.

Most servers running apache and some flavor of nix (there are tons that people use: rhel, red hat, centos, fedora, etc). The control panel has more to do with permissions than anything else. And the same control panel on a different OS will have different bahaviors regarding permissions.
__________________
Doyle Lewis
BuyHTTP Internet Services
www.mambo-hosting.com - Mambo Optimized Hosting
www.mambodemo.com - Free flash tutorials for Mambo
keliix06 is offline   Reply With Quote
Old August 17th, 2005, 15:38   #5
gharding
 
Join Date: May 2005
Location: New York City
Posts: 205
gharding is on a distinguished road
Default

Most security holes are out of reach of the client. Mambo itself seems pretty secure. The problem are when you install 3rd part components/modules which might have SQL injection problems, the server's software may be outdated and vulnerable, entirely other clients hosted on the same server as you vulnerable to SQL injection (in conjunction with a vulnerability in the server), weak passwords, and tons more. You're really not going to be able to secure much with just .htaccess.

Might this be in part because of that XML-RPC bug that came up a little while ago? Mambo uses XML-RPC.. so has anyone checked to see whether it's vulnerable?
gharding is offline   Reply With Quote
Old August 18th, 2005, 00:40   #6
beuvema
 
beuvema's Avatar
 
Join Date: Nov 2004
Posts: 26
beuvema is on a distinguished road
Default

Thx for the responses so far...

in General, security can be increased by:

- Using secure passwords
- .htaccess file (turning off directory listings)
- configuration.php attributes at 0644

on the .htaccess file
the folder to place it in is the mambo root folder?
Are the following lines sufficient to turn off directory listings, and are they inherited?
Code:
order allow,deny
allow from all
Greetz Beuvema
beuvema is offline   Reply With Quote
Old August 18th, 2005, 12:30   #7
beuvema
 
beuvema's Avatar
 
Join Date: Nov 2004
Posts: 26
beuvema is on a distinguished road
Default

www.opensourcematters.org

Mambo belongs to everyone !!! HANDS OFF !!!
beuvema is offline   Reply With Quote
Old August 18th, 2005, 13:07   #8
MystaMax
 
Join Date: Oct 2004
Location: Atlanta, GA, USA
Posts: 174
MystaMax is on a distinguished road
Default

LOL. Good one
__________________
MP3 Info Site -- www.mp3-players-review.com
MystaMax is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSACideas.com - Recycling, Safety and Energy Conservation Materials denisbaldwin Sites using Mambo 1 August 2nd, 2005 00:39
To Do Checklist cchhita Wishlist & Feature Requests 2 July 31st, 2005 04:15
Preinstallation Checklist problem chimster General Questions 13 July 13th, 2005 00:17
template safety tatibrazil General Questions 2 June 24th, 2005 13:06
Databases and queries : safety ford Components 1 January 20th, 2005 15:09


All times are GMT -7. The time now is 19:37.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.