Lucene search
+L

WordPress < 5.5 - Password Reset Poisoning via Host Header Injection

🗓️ 24 Nov 2026 03:08:35Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 5 Views

Unauthenticated password reset poisoning in WordPress via Host header injection.

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
WordPress < 4.7.4 - Unauthorized Password Reset Vulnerability
4 May 201700:00
–zdt
githubexploit
GithubExploit
Exploit for Weak Password Recovery Mechanism for Forgotten Password in Wordpress
6 May 201709:51
–githubexploit
attackerkb
attackerkb
CVE-2017-8295
4 May 201700:00
–attackerkb
circl
Circl
CVE-2017-8295
3 May 201721:55
–circl
cnvd
CNVD
WordPress Unauthorized Password Reset Vulnerability
4 May 201700:00
–cnvd
checkpoint_advisories
Check Point Advisories
WordPress Unauthorized Password Reset (CVE-2017-8295)
7 May 201700:00
–checkpoint_advisories
cve
CVE
CVE-2017-8295
4 May 201714:00
–cve
cvelist
Cvelist
CVE-2017-8295
4 May 201714:00
–cvelist
debian
Debian
[SECURITY] [DLA 975-1] wordpress security update
2 Jun 201712:47
–debian
debian
Debian
[SECURITY] [DSA 3870-1] wordpress security update
1 Jun 201705:31
–debian
Rows per page
id: CVE-2017-8295

info:
  name: WordPress < 5.5 - Password Reset Poisoning via Host Header Injection
  author: DhiyaneshDk
  severity: medium
  description: |
    WordPress before 5.5 derives the password-reset email's From/Return-Path address from $_SERVER['SERVER_NAME'] in wp_mail() (wp-includes/pluggable.php). On servers where SERVER_NAME follows the client Host header (e.g. Apache with UseCanonicalName Off, or a default/IP-based vhost), an unauthenticated attacker can POST to wp-login.php?action=lostpassword with a crafted Host header so the reset email's From/Return-Path points at an attacker-controlled domain. If that message bounces or is auto-replied, the secret reset link is delivered to the attacker, enabling account takeover. The injected host is never reflected in the HTTP response and triggers no out-of-band callback, so this detection is version-based (the SERVER_NAME sender was replaced with network_home_url() in 5.5).
  impact: |
    Attackers can reset arbitrary user passwords and obtain reset keys by exploiting email bounce or resend mechanisms, potentially leading to account takeover.
  remediation: |
    Update to WordPress 4.7.5 or later versions that fix this issue.
  reference:
    - https://legalhackers.com/advisories/WordPress-Exploit-4-7-Unauth-Password-Reset-0day-CVE-2017-8295.html
    - https://www.exploit-db.com/exploits/41963
    - https://core.trac.wordpress.org/ticket/25239
    - https://nvd.nist.gov/vuln/detail/CVE-2017-8295
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    cvss-score: 5.9
    cve-id: CVE-2017-8295
    epss-score: 0.26699
    epss-percentile: 0.98071
    cwe-id: CWE-640
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.component:"WordPress"
  tags: cve,cve2017,wordpress,wp,password-reset,host-header,vkev,passive

http:
  - method: GET
    path:
      - "{{BaseURL}}/"
      - "{{BaseURL}}/feed/"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - "compare_versions(version, '< 5.5')"

    extractors:
      - type: regex
        name: version
        part: body
        group: 1
        regex:
          - 'name="generator" content="WordPress ([0-9.]+)"'
          - 'wordpress\.org/\?v=([0-9.]+)'
          - 'wp-emoji-release\.min\.js\?ver=([0-9.]+)'
# digest: 4a0a0047304502203c858438bd1da951d711782c7afe2c2c38440f2679ca4f7124982fb65a6609a3022100e136d53c5041832de373849f93cb34407c87098fddc822ff8dd0eeb131e415f2:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Nov 2026 10:12Current
6.8Medium risk
Vulners AI Score6.8
CVSS 24.3
CVSS 35.9
EPSS0.32312
5