Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Somebody spamming our website's enquiry forms? (https://www.cableforum.uk/board/showthread.php?t=34971)

McGraw 12-09-2005 09:31

Somebody spamming our website's enquiry forms?
 
On our work recruitment website there are two enquiry forms. One is for clients looking for staff and the other is for candidates looking for work.

Recently, the e-mail adress that picks up these enquiries is getting bombarded with pointless e-mails. They are just a random series of letters in front of our domain name. This then appears on every line of the enquiry form.

We are getting lots of e-mails like this and it's quite annoying.

The IP address shows up with every e-mail and it's the same every time.

When you insert the IP into a browser, it comes up with a Lotus Domino development page.

Any clues?

Thanks a lot.

v0id 12-09-2005 21:18

Re: Somebody spamming our website's enquiry forms?
 
set your catch-all email address to :blackhole:

Paul 12-09-2005 21:22

Re: Somebody spamming our website's enquiry forms?
 
We get these as well, quite a few recently - I just ban the ip from accessing the server.

punky 12-09-2005 21:47

Re: Somebody spamming our website's enquiry forms?
 
If you don't have server access, then one thing you can do is alter your mailing script to ignore requests from that address. Are you using PHP to mail the form to you? if you are, then you could do something like this:

PHP Code:


if ($_SERVER['remote_addr'] == 'ip.add.here')
{

//echo message about using being banned

}

else
{

//usual mailer script goes here.

} 

Not sure about CGI ones, as I don't use Perl.

HTH.

Angua 12-09-2005 21:56

Re: Somebody spamming our website's enquiry forms?
 
Or you could put in one of those script checkers that only humans can read to verify it's a person :shrug:

Richard M 13-09-2005 08:55

Re: Somebody spamming our website's enquiry forms?
 
Quote:

Originally Posted by punky
If you don't have server access, then one thing you can do is alter your mailing script to ignore requests from that address. Are you using PHP to mail the form to you? if you are, then you could do something like this:

PHP Code:


if ($_SERVER['remote_addr'] == 'ip.add.here')
{

//echo message about using being banned

}

else
{

//usual mailer script goes here.

} 

Not sure about CGI ones, as I don't use Perl.

HTH.

You'd need to use about 4 different variables to stop it because proxies use two just by themselves.
Also depends on HTTP version.

Bifta 13-09-2005 09:25

Re: Somebody spamming our website's enquiry forms?
 
Quote:

Originally Posted by McGraw
On our work recruitment website there are two enquiry forms. One is for clients looking for staff and the other is for candidates looking for work.

Recently, the e-mail adress that picks up these enquiries is getting bombarded with pointless e-mails. They are just a random series of letters in front of our domain name. This then appears on every line of the enquiry form.

We are getting lots of e-mails like this and it's quite annoying.

The IP address shows up with every e-mail and it's the same every time.

When you insert the IP into a browser, it comes up with a Lotus Domino development page.

Any clues?

Thanks a lot.

Same thing is happening to us, it's someone basically checking for a PHP vulnerability in your forms, however, it happens with formmail too which is Perl not PHP, one of the CC email addresses should be an AOL account, do a search on that account on Google and it'll show you loads of stuff on it.

McGraw 13-09-2005 18:40

Re: Somebody spamming our website's enquiry forms?
 
Cheers for the help. Have passed the info on.

Matth 15-09-2005 22:32

Re: Somebody spamming our website's enquiry forms?
 
A plain "mailto" form, or something more advanced?

It may compromise compatibility, but you could take away the form submit button, and submit the form by a javascript function from a link or button.

Also, use some javascript validation, so that if an email address is required, the field must contain @

Might be someone trying to find vulnerable form mailers, as some can be coerced into sending to other addresses, but you'd expect to see the probable target email address.

If you use mailing lists, maybe they need washing - I've "graffiti'd" webpage forms of companies that I believed spammed me, and consider it an entirely justified response.


All times are GMT. The time now is 08:02.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum