{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-7312 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-7312 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-7312 is a high-severity vulnerability in Payara Server, published on 11 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-7312 and fix it if it is affected.\n\nWhat it is: CVE-2024-7312 is a high-severity vulnerability in Payara Server, published on 11 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-7312 in the wild and no public exploit code.\n\nAffected product: Payara Server. 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-2024-7312/ (Markdown: https://insights.sbomify.com/CVE-2024-7312/index.md)","id":"CVE-2024-7312","markdown":"https://insights.sbomify.com/CVE-2024-7312/index.md","name":"CVE-2024-7312","record":{"aliases":["GHSA-jfgw-v3p5-42qh"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Payara Server","requires_auth":"high_privilege","summary":"An open redirect in the Payara Server REST interface allows attackers to hijack user sessions by redirecting them to malicious sites.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Payara","cpe":[{"product":"payara","vendor":"payara"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:N/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Payara Platform Payara Server (REST Management Interface modules) allows Session Hijacking.This issue affects Payara Server: from 6.0.0 before 6.18.0, from 6.2022.1 before 6.2024.9, from 5.2020.2 before 5.2022.5, from 5.20.0 before 5.67.0, from 4.1.2.191.0 before 4.1.2.191.50.","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":"REST Interface Link Redirection via Host parameter","id":"CVE-2024-7312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Shield Security \u003c 20.0.6 - Reflected XSS","id":"CVE-2024-7313"},"packages":[],"prev":{"headline":"code-projects Online Bus Reservation Site register.php sql injection","id":"CVE-2024-7311"},"products":["Payara Server"],"published":"2024-09-11","related":[{"cvss_score":8.7,"headline":"Payload Injection Attack via Management REST interface","id":"CVE-2024-8215","kev_date_added":null,"published":"2024-10-08"},{"cvss_score":7.5,"headline":"Payara, when deployed to the root context, allows attackers to visit META-INF and WEB-INF","id":"CVE-2022-45129","kev_date_added":null,"published":"2022-11-10"},{"cvss_score":7.5,"headline":"Path Traversal in Payara","id":"CVE-2022-37422","kev_date_added":null,"published":"2022-08-18"},{"cvss_score":6.8,"headline":"Cross-site Scripting (Stored)","id":"CVE-2025-1534","kev_date_added":null,"published":"2025-04-01"},{"cvss_score":6.1,"headline":"Payara Platform: URL Redirection to untrusted site using FORM authentication","id":"CVE-2023-41699","kev_date_added":null,"published":"2023-11-15"}],"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":"total"},"state":"PUBLISHED","updated":"2024-09-11","vendors":["Payara Platform"]},"summary":"An open redirect in the Payara Server REST interface allows attackers to hijack user sessions by redirecting them to malicious sites.","url":"https://insights.sbomify.com/CVE-2024-7312/"}