SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-07-2006, 07:40 AM
Juvia Juvia is offline
SEO Junior
 
Join Date: Dec 2006
Posts: 3 Juvia is on a distinguished road
Abuse Of A Php Contact Script, someone is the bcc to send out emails

Hi -

I have had a message today from my hosting company to tell me that one of the sites on my hosting account is having it's php code abused. Apparently someone is manipulating the php code from the contact form to allow them
to add Bcc addresses.

Any ideas on what I need to do to close this loop hole?

Thanks.
Reply With Quote
  #2  
Old 12-07-2006, 11:26 PM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
Hi,

I don't know a solution for php but you need to add a line of code to check that the IP/ Referrer details to make sure that the form was sent from your site. It's a well-known security issue, hackers modify your form and use it to send out spam emails.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #3  
Old 12-08-2006, 11:48 AM
RyanSmith RyanSmith is offline
SEO
 
Join Date: Sep 2005
Location: Fort Collins, Colorado
Posts: 446 RyanSmith will become famous soon enoughRyanSmith will become famous soon enough
If you post the code, I can take a look and probably identify the security hole.

You should always cleanse user input before you do anything with it. I know a lot about SQL Injection attacks, but not a whole lot about contact forums attacks. It all depends on how your sending mail.

Most likely they are escaping your input starting out, then adding additional headers for the BCC, closing and sending.
__________________
AJAX Example Sites is now here! With a nice
AJAX Chat Application Tutorial
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 08:52 PM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.