Host Header Injection password reset poisoning Bug Bounty

0
Certificate

Paid

Language

Level

Beginner

Last updated on April 15, 2025 6:26 am

Learn how misconfigurations and flawed business logic can expose websites to HTTP Host header attacks. Discover how to detect and exploit password reset poisoning vulnerabilities, and protect your own websites. Ideal for bug bounty hunters and penetration testers.

Add your review

What you’ll learn

  • bug bounty
  • website security
  • Host header injection
  • password reset poisoning
  • Coupon code : HM-MARUF

HTTP Host header attacks

In this section, we’ll discuss how misconfigurations and flawed business logic can expose websites to a variety of attacks via the HTTP Host header. We’ll outline the high-level methodology for identifying websites that are vulnerable to HTTP Host header attacks and demonstrate how you can exploit this. Finally, we’ll provide some general guidance on how you can protect your own websites.

Password Reset Poisoning

A common way to implement password reset functionality is to generate a secret token and send an email with a link containing this token. What could happen if an attacker requests a password reset with an attacker controlled host header?

If the web application makes use of the host header value when composing the reset link, an attacker can poison the password reset link that is sent to a victim. If the victim clicks on the poisoned reset link in the email, the attacker will obtain the password reset token and can go ahead and reset the victim’s password.

Detecting Password Reset Poisoning vulnerabilities

We’ll use an old version of Piwik (an open source web analytics platform) which was vulnerable to password reset poisoning via a host header attack for demonstration of this vulnerability.

In order to detect password reset poisoning automatically, we’ll need to rely on an intermediary service since the detection of password reset poisoning via a host header attack requires an out-of-band and time-delay vector. Acunetix solves this by making use of AcuMonitor as its intermediary service during an automated scan.

During a scan, Acunetix will locate the password reset page and inject a custom host header pointing to an AcuMonitor domain. If vulnerable, the application in question (an old version of Piwik in this example) will generate the password reset link using this value and send an email to the user concerned as follows.

Who this course is for:

  • bug bounty hunter and penetration tester

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Host Header Injection password reset poisoning Bug Bounty”

×

    Your Email (required)

    Report this page
    Host Header Injection password reset poisoning Bug Bounty
    Host Header Injection password reset poisoning Bug Bounty
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.