Block for Google Code Search?

Block for Google Code Search?

Posted by: TNGeneWhiz
Posted on: 2006-10-13 16:12:00

I got this message from a Joomla forum admin. Would be interested in your thoughts.

Re: Block for Google Code Search?

Posted by: rlparker
Posted on: 2006-10-13 16:30:00

In reply to:

We are reporting this as a security advisory because we have discovered that some site administrators are storing archives / backups of their website in the web root.


This is just common sense, really. You should *not* be storing any information in a publiclly accessable web directory you do not want being seen.

If you don't store this stuff in a directory that is accessable from the web, Google code search becomes a moot point.wink

Given that many Joomla! users have precious little understanding of how webserving actually works (I mean, that is (at least a small) part of the whole point with such CMS systems), it is probably good that the Joomla enthusiasts warn of this, but the warning should really not be necessary as such things sholdn't be stored in such a way in any event.

Goodle code search does not reveal anything that couldn't be revealed without it's use - it just makes it easierwink

Rules to follow:
1) Don't place it in a web accessable directory if you don't want it to be reachable from the web.

2) make sure there is an index.html (or other page served by default) in every web accessable directory whose contents you don't want browsed.

3) Use Apache authentication (.htaccess), or other protection mechanism, if you want to restrict public, or robot, access to a web accessable directory.

THere are myriad of other things you can consider, such as the use of robots.txt, other .htaccess restrictions, re-write rules, etc. - but the three above are the one you *really* need.

--rlparker


Re: Block for Google Code Search?

Posted by: kchrist
Posted on: 2006-10-13 16:34:00

The simple (and obvious) answer to that is "Don't store sensitive information in a web-accessible location". You shouldn't be doing this anyway, whether Google Code Search exists or not.

Re: Block for Google Code Search?

Posted by: Raz2133
Posted on: 2006-10-13 18:59:00

In reply to:

"Don't store sensitive information in a web-accessible location"


Very good advice.

There are so many other crawlers out there these days, not all of them innocent, that sensitive data should never be stored in a web accessable area. The existence of Google Code Search doesn't change this.

Mark

Re: Block for Google Code Search?

Posted by: pangea33
Posted on: 2006-10-13 20:36:00

If you have EVER made the mistake of having your archives stored in a web-accessible directory, after correcting that problem, make sure you change your Joomla administrator password immediately. While Google has gone to the minimal trouble of hiding sensitive data identified with the keyword "password", there are other glaring issues.

Example results from Google Code Search

$mosConfig_password = '...password obscured...';

Anyone who knows where to find this sort of info, and how to utilize simple MD5 decryption, can easily gain access to other "_secret" information stored in the same place. If this doesn't make any sense to you, just CHANGE YOUR PASSWORD. I am not trying to make life easier for would be 1337 |-|8x0r5.



http://benconley.net
http://teamshocker.com

Tags: googlephp filesweb rootforum adminweb serversbackupssmtpcredentialspasswords