Re:Using SVN makes your site extremely vulnerable
by InclinedPlane on Wednesday September 23, 2009 @06:56AM
(#839021)
Just reading. This is actually pretty bad. Consider all of the passwords embedded in connection strings and all the other various secrets contained in the source AND configuration files for a standard website. Even if your site uses all open source software, you still don't want J. Random Hacker to have write access to your database, for example.
Re:Using SVN makes your site extremely vulnerable
by DrJokepu on Wednesday September 23, 2009 @07:42AM
(#839059)
Maybe the real security problem is embedding passwords and other various secrets in the source code?
Re:Using SVN makes your site extremely vulnerable
by AndrewDucker on Wednesday September 23, 2009 @07:56AM
(#839074)
Of course, you database _really_ shouldn't be externally visible...
Re:Using SVN makes your site extremely vulnerable
by jerf on Wednesday September 23, 2009 @10:49AM
(#839337)
Well, don't forget about "security-in-depth". Combine "DB password on your website" with "remote unprivileged shell" on any server that can reach the DB, and now you've got a "shell into the DB".
Security exploits aren't just bad for what they directly allow, they are bad for how they often combine well.
(You, AndrewDucker, may already know this; I'm not trying to imply otherwise. I'm saying this because this is a point that needs to be made more often, too many people ignore it. Any unauthorized access into your system needs to be taken very seriously, because of this risk.)
Re:Using SVN makes your site extremely vulnerable
by chrismear on Wednesday September 23, 2009 @06:51AM
(#839014)
It's the former. Sure, it's not a problem if your code is already open-sourced, but plenty of people are working on things that aren't. And aside from code, you may have private data stored in your repository, such as API keys, or even just configuration information about your site setup that might help attackers.
Are they saying that people can read your code (not actually a problem for open source projects) or that they can update it and thus alter your site?
The former doesn't seem so bad - the latter is obviously catastrophic.
I wish I spoke Russian...