logical muse
LogMu
- Joined
- Oct 24, 2005
- Messages
- 2,050
It's just that from the point of view of the site owner, this sounds dangerously close to a scam. Is there a real security problem or is this guy who keeps bugging me by email just trying to get some money from me? Security professionals don't act that way (and that's not an attack on the OP - just an observation).
They are well aware it's not a scam.
Here's the email I sent them:
Hello,
My name is LM; I want to help secure your web site (dodgysite.com).
I see that you've implemented 'referrer checking' in an attempt to
address the security issues you are facing. Unfortunately, it's easy to
circumvent. As just one example, there is a Firefox plugin called
RefControl that allows anyone to instruct their browser to send
'dodgysite.com' as the referrer. I have done this myself to confirm
that the security vulnerability still exists.
In addition, are you aware that the file
'http://dodgysite/somefiles/members.txt', which contains usernames and
passwords and profile information of your users is publicly available?
Just do this search:
http://search.yahoo.com/search?p="dodgysite.com"&ei=UTF-8&y=Search&dups=1
It's right there, along with many other files. I see no reason why this
file, indeed any of these files, should be in a directory within the
document root. In fact, what is that directory doing there in the first
place?
I will be blunt; you have no security. The 'login' url does no checking
of credentials before allowing access. Checking the referrer is next
to useless. You have private files in publicly accessible areas.
You need to move those files out of there, outside of the document root.
You need your profile page, control panel page, and all other private
pages to check that the correct user is actually logged in at the
computer making the page request before granting access. You need, in
fact, to take the site down until your security problems are fixed.
I can fix this for you. Please check some of the secure sites I have
built:
(a list)
I'll give you other references on request. Please contact me as soon as
possible so that we can secure your site.
As you can see, they were aware of the problem and tried to fix it themselves. They know that they didn't fix it properly. What they should have done is taken the site down and fixed the problem, but they didn't.
I think part of the problem is that they just don't know how to fix it. Surely I did nothing wrong by pointing out the extent of the problem to them?