{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-6506 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-6506 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6506 is a medium-severity missing authorization vulnerability in melapress WP 2FA – Two-factor authentication for WordPress, published on 11 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6506 and fix it if it is affected.\n\nWhat it is: CVE-2023-6506 is a medium-severity missing authorization vulnerability in melapress WP 2FA – Two-factor authentication for WordPress, published on 11 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6506 in the wild and no public exploit code.\n\nAffected product: melapress WP 2FA – Two-factor authentication for 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-2023-6506/ (Markdown: https://insights.sbomify.com/CVE-2023-6506/index.md)","id":"CVE-2023-6506","markdown":"https://insights.sbomify.com/CVE-2023-6506/index.md","name":"CVE-2023-6506","record":{"aliases":["GHSA-5pwx-2rrr-xcvm"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"low_privilege","summary":"Subscribers can send arbitrary emails to any user via insecure direct object reference in the WP 2FA plugin.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"wp_2fa","vendor":"wpwhitesecurity"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"The WP 2FA – Two-factor authentication for WordPress plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.5.0 via the send_backup_codes_email due to missing validation on a user controlled key. This makes it possible for subscriber-level attackers to email arbitrary users on the site.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"WP 2FA \u003c= 2.5.0 - Insecure Direct Object Reference to Arbitrary Email Sending","id":"CVE-2023-6506","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"Groups not dropped before running subprocess when using empty 'extra_groups' parameter","id":"CVE-2023-6507"},"packages":[],"prev":{"headline":"Prime Mover \u003c 1.9.3 - Directory Listing to Sensitive Data Exposure","id":"CVE-2023-6505"},"products":["WP 2FA – Two-factor authentication for WordPress"],"published":"2024-01-11","related":[{"cvss_score":6.1,"headline":"WP 2FA \u003c 2.2.1 - Reflected Cross-Site Scripting","id":"CVE-2022-1527","kev_date_added":null,"published":"2022-05-30"},{"cvss_score":5.9,"headline":"WP 2FA \u003c 2.3.0 - Time-Based Side-Channel Attack","id":"CVE-2022-2891","kev_date_added":null,"published":"2022-10-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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["melapress"]},"summary":"Subscribers can send arbitrary emails to any user via insecure direct object reference in the WP 2FA plugin.","url":"https://insights.sbomify.com/CVE-2023-6506/"}