Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I am getting ready to launch a small web app and decided to scan the site with the Acunetix Web Vulnerability Scanner. I was quite pleased with the results for the most part, but the scanner reports a high level security issue with the setting of the Host header. The scanner provides the following link for more information http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html

Far as I can tell the vulnerability comes into play if you are using the host header to generate URLs, be they urls inserted into sent emails or inserted into pages.

Am I correct in thinking that this is not an issue for a web app that is not using the Host header to create urls in any way?

share|improve this question

2 Answers 2

If the webapp (including any framework it was built on top of) doesn't use the Host header or anything derived from it (like SERVER_NAME) then the attacks described are not possible.*

However, if this were the case, Acunetix shouldn't really be raising this vulnerability on your scan, especially without providing any evidence.

*If the webapp is intended to only be accessible from an internal network then you should validate the host header anyway, to prevent external attackers from gaining access to it using DNS rebinding.

share|improve this answer
    
+1 Always nice to hear directly from the source - welcome to the site! –  dan Sep 20 '13 at 3:08

When Acunetix detects a vulnerability, it generally provides additional information, including the parameters that were used to detect the vulnerability. This allows you to replicate the vulnerability manually, possibly using the manual penetration testing tools included with Acunetix such as the HTTP Editor.

Check the following Acunetix post on Host Header Injection: http://www.acunetix.com/blog/web-security-zone/articles/automated-detection-of-host-header-attacks/

You might want to contact the Acunetix support team, and provide them with additional details on the vulnerability.

share|improve this answer
    
Please disclose your relationship with the company discussed. –  Andrew Lott Sep 20 '13 at 8:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.