{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-8295 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2017-8295 is a medium-severity authentication bypass vulnerability in Wordpress Wordpress, published on 4 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-8295 and fix it if it is affected.\n\nWhat it is: CVE-2017-8295 is a medium-severity authentication bypass vulnerability in Wordpress Wordpress, published on 4 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-8295 in the wild and no public exploit code.\n\nAffected product: Wordpress Wordpress. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-8295/ (Markdown: https://insights.sbomify.com/CVE-2017-8295/index.md)","id":"CVE-2017-8295","markdown":"https://insights.sbomify.com/CVE-2017-8295/index.md","name":"CVE-2017-8295","record":{"aliases":["DEBIAN-CVE-2017-8295","GHSA-xr65-2gpf-fj8v","UBUNTU-CVE-2017-8295"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress CMS","requires_auth":"none","summary":"Attackers can reset arbitrary user passwords by manipulating the Host header in password reset emails, leading to account takeover.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"wordpress","vendor":"wordpress"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"}],"description":"WordPress through 4.7.4 relies on the Host HTTP header for a password-reset e-mail message, which makes it easier for remote attackers to reset arbitrary passwords by making a crafted wp-login.php?action=lostpassword request and then arranging for this message to bounce or be resent, leading to transmission of the reset key to a mailbox on an attacker-controlled SMTP server. This is related to problematic use of the SERVER_NAME variable in wp-includes/pluggable.php in conjunction with the PHP mail function. Exploitation is not achievable in all cases because it requires at least one of the following: (1) the attacker can prevent the victim from receiving any e-mail messages for an extended period of time (such as 5 days), (2) the victim's e-mail system sends an autoresponse containing the original message, or (3) the victim manually composes a reply containing the original message.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2017-05-03","github_poc":3,"max_poc_stars":20,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-05-06T09:51:01Z","kind":"github_poc","ref":"https://github.com/cyberheartmi9/CVE-2017-8295","stars":20,"title":null},{"date":"2017-05-05T16:34:17Z","kind":"github_poc","ref":"https://github.com/alash3al/wp-allowed-hosts","stars":2,"title":"a plugin that protects your wp site from the CVE-2017-8295 vulnerability"},{"date":"2017-05-03","kind":"exploitdb","ref":"41963","stars":null,"title":"WordPress Core \u003c 4.7.4 - Unauthorized Password Reset"},{"date":"2017-05-04T19:05:12Z","kind":"github_poc","ref":"https://github.com/homjxi0e/CVE-2017-8295-WordPress-4.7.4---Unauthorized-Password-Reset","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Auth bypass in n/a","id":"CVE-2017-8295","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"wordpress:wordpress","products":["wordpress:wordpress"],"type":"auth_bypass","year":"2017"},"n_packages":0,"n_references":6,"next":{"headline":"Information disclosure in n/a","id":"CVE-2017-8296"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2017-8294"},"products":["n/a"],"published":"2017-05-04","related":[{"cvss_score":9.8,"headline":"WordPress Core Interpretation Conflict","id":"CVE-2026-63030","kev_date_added":"2026-07-21","published":"2026-07-17"},{"cvss_score":8.1,"headline":"WordPress Core Remote File Inclusion","id":"CVE-2026-87902","kev_date_added":"2026-09-25","published":"2026-09-22"},{"cvss_score":5.9,"headline":"WordPress Core SQL Injection","id":"CVE-2026-60137","kev_date_added":"2026-07-21","published":"2026-07-17"},{"cvss_score":10,"headline":"Cross-site scripting in n/a","id":"CVE-2012-2399","kev_date_added":null,"published":"2012-04-21"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2012-2400","kev_date_added":null,"published":"2012-04-21"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3122","kev_date_added":null,"published":"2011-08-10"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3125","kev_date_added":null,"published":"2011-08-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can reset arbitrary user passwords by manipulating the Host header in password reset emails, leading to account takeover.","url":"https://insights.sbomify.com/CVE-2017-8295/"}