CVE-2024-8215 Payload Injection Attack via Management REST interface
Attackers can inject malicious scripts into the Payara Server Admin Console, potentially leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-8215?
CVE-2024-8215 is a high-severity cross-site scripting vulnerability in Payara Server, published on 8 Oct 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Payara Platform Payara Server (Admin Console modules) allows Remote Code Inclusion.This issue affects Payara Server: from 5.20.0 before 5.68.0, from 6.0.0 before 6.19.0, from 6.2022.1 before 6.2024.10, from 4.1.2.191.1 before 4.1.2.191.51.
Weakness: CWE-79
Which versions are affected by CVE-2024-8215?
It affects 1 product.
Products include Payara Payara.
How do I fix CVE-2024-8215?
No fix has been published for CVE-2024-8215 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-8215 being exploited?
There is no known exploitation of CVE-2024-8215 in the wild and no public exploit code.
Other vulnerabilities in Payara Server
- CVE-2022-45129 Payara, when deployed to the root context, allows attackers to visit META-INF and WEB-INF
- CVE-2022-37422 Path Traversal in Payara
- CVE-2024-7312 REST Interface Link Redirection via Host parameter
- CVE-2025-1534 Cross-site Scripting (Stored)
- CVE-2023-41699 Payara Platform: URL Redirection to untrusted site using FORM authentication
Sources
Also known as GHSA-833w-v8hc-4v7f.