QuestionQ55

VerifiedAttacks and Exploits

A penetration tester determines that, while conducting on-path attacks on the local network, a web application's HTTPS connections can be downgraded to HTTP. The tester examines the server-response output from curl -s -I https://internalapp/.

HTTP/2 302 -  
date: Thu, 11 Jan 2024 15:56:24 GMT  
content-type: text/html; charset=iso-8859-l  
location: /login  
x-content-type-options: nosniff  
server: Prod  

Which recommendation should the penetration tester include in the report?

Explanation

HTTP Strict Transport Security (HSTS) uses the Strict-Transport-Security response header to tell browsers to access the host only through HTTPS. After the policy is received over HTTPS, the browser upgrades subsequent HTTP attempts to HTTPS before making an insecure request, mitigating HTTPS-to-HTTP downgrade attacks.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!