Topic: Help! My PunBB Mailer has just been exploited

Hey everyone,
Somehow all of my members have been spammed. The email header says "X-Mailer: PunBB Mailer". And I'm getting several personal emails from members letting me know that they got this same spam message... is this a known bug? Is there a patch? I'm using v1.2.12

I've just renamed the email.php file to something else for right now and put the forum in maintenance mode...

Re: Help! My PunBB Mailer has just been exploited

Was the message sent through the mailing form?

Re: Help! My PunBB Mailer has just been exploited

How can I tell?

Re: Help! My PunBB Mailer has just been exploited

Well, the message should be in the form of (I sent myself a test mail tongue)

elbekko from PunBB.org Forums has sent you a message. You can reply to elbekko by replying to this e-mail.

The message reads as follows:
-----------------------------------------------------------------------

Bleh

-----------------------------------------------------------------------

Re: Help! My PunBB Mailer has just been exploited

Yep that's exactly how its formatted.

Re: Help! My PunBB Mailer has just been exploited

Well, who was the sender? Ban him.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Help! My PunBB Mailer has just been exploited

Might be useful to allow a user to only send x form mails per minute or so.
Probably this was done by just submitting to the form email page from within a loop (and first logging in ofcourse).

Re: Help! My PunBB Mailer has just been exploited

OK I just banned that username and address... but how can I keep that from happening again?

Re: Help! My PunBB Mailer has just been exploited

tracyfloyd wrote:

OK I just banned that username and address... but how can I keep that from happening again?

Well, by putting in the check I suggested. But that would require some editing of the DB.

Re: Help! My PunBB Mailer has just been exploited

a usergroup thing perhaps (like the one where you need X number of sec between posts, perhaps combine the two using the same limit on both)

Re: Help! My PunBB Mailer has just been exploited

Frank H wrote:

a usergroup thing perhaps (like the one where you need X number of sec between posts, perhaps combine the two using the same limit on both)

Myeah, but you would still need to store the last time they sent a mail wink

Writing a mod for this would probably be fairly easy.

Re: Help! My PunBB Mailer has just been exploited

elbekko wrote:

Myeah, but you would still need to store the last time they sent a mail wink

True. We could probably get away with adding that field to the users table though. I'll put this on the investigate list for 1.3.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Help! My PunBB Mailer has just been exploited

It would be helpful if you simply added this as a permission (no minimum posts, just a checkbox). That way, you could only allow trusted members (people that have been around for more than 5 minutes...) to use the mailer at all.

This _exact_ same thing happened on the Textpattern support forum. I've had to turn it off for everyone except a few people that must have this ability.

Re: Help! My PunBB Mailer has just been exploited

Maybe there could be an option to turn off the ability for members to email each other at all...

Re: Help! My PunBB Mailer has just been exploited

Just put in fake SMTP details tongue