Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contact Us Still emailing me after patching


cope

Recommended Posts

Posted

Hi there, this apprantly has been a ongoing issue with some stores. I've applied the fix for the Contact Us with the new release update that was issue a few weeks back (Update 051113) but unfortunately i think it hasnt worked for me. This is what im getting emailed to be from the Contact Us Page Still: My Domain is www.lagifterie.com Can anyone shed some light on the situation. Thx

 

From: [email protected] (This email is not alsways the same but its from my domainname but these email addresses do not actually exist)

Subject: Enquiry from Domain

 

to

Content-Type: text/plain; charset="us-ascii"

MIME-Version: 1.0

Content-Transfer-Encoding: 7bit

Subject: advantage. hey d surrindhered ninety or a hundherd

bcc: [email protected]

 

1f3867dc346f02a8735bdd497dde809c

Posted

i don?t use the origin contact_us.php, but i had the same problems, i solved it with a "die" if someone uses the input fields with my own webadress

Posted
i don?t use the origin contact_us.php, but i had the same problems, i solved it with a "die" if someone uses the input fields with my own webadress

 

Not sure what you mean by that. Can you elaborate more?

Thx

Posted

Save yourself a lot of hassle. Remove the dynamic 'contact' script links from the root level contact_us.php, and then replace it with a simple <a href="mailto:[email protected]">Text link here</a> in your includes/languages/english/contact_us.php (and any other contact_us.php files in the german and spanish folders at that level).

 

This simple form of e-mail link cannot be abused.

 

If you wish to keep using the contact us script that comes with osCommerce thn make sure that you also apply the E-mail Header Injection fixes for the two email.php files.

 

Vger

Posted
Save yourself a lot of hassle. Remove the dynamic 'contact' script links from the root level contact_us.php, and then replace it with a simple <a href="mailto:[email protected]">Text link here</a> in your includes/languages/english/contact_us.php (and any other contact_us.php files in the german and spanish folders at that level).

 

This simple form of e-mail link cannot be abused.

That's not really a very complete solution.

 

Check this Google Search:

 

http://www.google.com/search?hl=en&q=catal...G=Google+Search

 

I didn't even bother to post the search for contact_us.php

 

So unless you remove contact_us.php or rename it it's stlll there. Bots don't come knocking on the front door, they zero in on the target file.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

The bots post every field on the form. The header injection fix stops mail getting sent to other people via bcc when the bot posts its mess in the name or subject field but doesnt do anything when the bot posts its mess in the text field so you still get a spam to admin. To stop it you can add some filters like below

 

//Block header injection bots
if (eregi('Content-Type:', $email_text)) return false;

//Block Viagra sales
if (eregi('Viagra', $email_text)) return false;

//Block Nigerian scams
if (eregi('Nigeria', $email_text)) return false;

 

Its just spam to admin.

 

If you look at this page you can see the bot posted and has nothing to do with contact_us.php so the bot is looking deeper like any page with email field.

 

http://articles.poetryx.com/talkback/100/

Posted
Remove the dynamic 'contact' script links from the root level contact_us.php, and then replace it with a simple <a href="mailto:[email protected]">Text link here</a> in your includes/languages/english/contact_us.php (and any other contact_us.php files in the german and spanish folders at that level).

 

How would I go about removing it? Is it the best course of action?

 

The thing is, why after changing the files from the recent update am i stil lgetting these? I get sometimes 3 in a day, then not 1 for 2-5 days, then 2-3 one day...

 

Are they actually doing something bad from my site or contact_us page?

 

Thx

Posted
Its Just spam to admin

Thx

 

Well if thats all it is, and not a indication that my site is spamming people or has a security hole i feel a little relieved.

 

So all in all im ok right?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...