Feeds

'Contact us' attack takes out mail servers

Ticking mail bomb threat overlooked

Choosing a cloud hosting partner with confidence

The "contact us" feature on many websites is often insecure and makes it easy to launch denial of service attacks on corporate mail servers, according to UK-based security consultancy SecureTest.

The "contact us" feature is usually a form that allows surfers to submit comments to the people running a website. According to SecureTest, these forms can be used to launch denial of service attacks through endemic security weaknesses that have largely been overlooked.

The significance of the attack varies, depending on whether or not firms host their websites internally. Even sites hosted by third parties can still be vulnerable to denial of service attack through misuse of web-based forms, but the risk is probably worst for firms that cost their own systems.

In cases where firms host their own website, the server would normally sit in the DMZ between external and internal firewalls. The "contact us" form simply creates an email on submission and sends the content to your internal mail server for forwarding on to the relevant internal contact.

Typically, mail filters will treat the web server as an internal mail client, so reduced levels of filtering that may be in place. So if an attacker scripts an attack, battering the form with large volumes of submissions, he can easily cause a mail server to fall over.

Writing scripts to change the content of messages or launching the attack via a network of compromised PCs, therefore changing the source IP address of the submitter, increases the potency of the attack. If the form of features an auto-response the potential load placed on systems by the attack increases all the more, especially if the submitting address is invalid because this generates a bounced reply.

Attacks of this kind could lead to corporate mail systems being overwhelmed in a very short space of time, SecureTest warns.

Managing director Ken Munro said the flaw is overlooked by most organisations, and cited results from the firm's penetration testing work with clients. "When we're penetration testing, we ask clients if they've considered this style of attack. By explicit agreement with the client, with careful consideration to the time of day (or night!) for testing, we conduct a 'contact us' DoS, and in every case we've tried so far, the client's mail server stops responding during the test window," Munro told El Reg.

Fortunately, the attack is relatively easy to defend against.

Firms could rate-limit email traffic from the website, perhaps by using packet shaping techniques, but this risks losing genuine traffic. A better approach is to put a CAPTCHA on the "contact us" form so users are required to enter a short phrase from an image that's not machine readable as part of the form submission process. ®

Internet Security Threat Report 2014

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Edward who? GCHQ boss dodges Snowden topic during last speech
UK spies would rather 'walk' than do 'mass surveillance'
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
Carders punch holes through Staples
Investigation launched into East Coast stores
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.