Feeds

'Contact us' attack takes out mail servers

Ticking mail bomb threat overlooked

Using blade systems to cut costs and sharpen efficiencies

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. ®

Boost IT visibility and business value

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
14 antivirus apps found to have security problems
Vendors just don't care, says researcher, after finding basic boo-boos in security software
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Israel's Iron Dome missile tech stolen by Chinese hackers
Corporate raiders Comment Crew fingered for attacks
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.