PayaraApplication

CVE-2024-8215

HIGH · 8.4 CVSS v3.1 Published 2024-10-08
Fix available
A fix is available. Upgrade to 4.1.2.191.51 / 5.68.0 or later.
See remediation →
88/100
Remediation priority · High
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

An XSS vulnerability in Payara Server's Admin Console allows attackers to inject malicious scripts through unsanitized input fields. Successful exploitation enables remote code inclusion, potentially giving attackers the ability to execute arbitrary code on the server by tricking authenticated administrators into clicking crafted links.

MitigationUpgrade Payara Server to version 5.68.0, 6.19.0, 6.2024.10, or 4.1.2.191.51 or later to obtain the patch. If immediate upgrading is not possible, restrict access to the Admin Console to trusted users only.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
PayaraApplication
Affected:>= 4.1.2.191, < 4.1.2.191.51>= 5.20.0, < 5.68.0>= 6.0.0, <= 6.19.0>= 6.2022.1, < 6.2024.10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Payara Server version
    Locate the Payara Server installation directory. Check the version by examining the 'payara.version' file in the lib directory, or run: asadmin version. Alternatively, check the pom.xml or release notes if available.
    Affected if The installed version falls within any of these ranges: 4.1.2.191 through 4.1.2.191.50, 5.20.0 through 5.67.x, 6.0.0 through 6.19.0, or 6.2022.1 through 6.2024.9.
  2. Confirm Admin Console is enabled
    Verify the Payara Admin Console is deployed and accessible. Default URL is https://localhost:4848 or http://localhost:8080. Check for the presence of the admin-gui or console-common web application in the domain.xml configuration.
    Affected if The Admin Console web interface is deployed and reachable on the network.
  3. Determine Admin Console network exposure
    Review the network listeners configured in Payara. Check the domain.xml for http-listener ports (default admin console port is 4848). Determine if this port is bound to 0.0.0.0 or an external IP rather than localhost only.
    Affected if The Admin Console port (typically 4848) is exposed to untrusted network interfaces or the internet, allowing external attackers to potentially trick administrators into visiting malicious links.
  4. Verify admin authentication is required
    Test access to the Admin Console URL without credentials. Confirm that forms-based or basic authentication is enforced and that anonymous admin access is disabled in the realm configuration.
    Affected if The Admin Console does not require authentication, or authentication can be bypassed, allowing unauthenticated attackers to inject XSS payloads directly.

You are affected if your Payara Server version is within the affected ranges AND the Admin Console is network-accessible to untrusted users, as the XSS flaw can be exploited by tricking authenticated administrators into clicking malicious links.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.1.2.191.51 / 5.68.0 / 6.2024.10 or later
Fixed in 4.1.2.191.515.68.06.2024.10
Interim mitigation

Upgrade Payara Server to version 5.68.0, 6.19.0, 6.2024.10, or 4.1.2.191.51 or later to obtain the patch. If immediate upgrading is not possible, restrict access to the Admin Console to trusted users only.

Recommended fix High confidence

Upgrade to one of: Payara Server 4.1.2.191.51 (for 4.x line), 5.68.0 (for 5.x line), 6.19.0 (for 6.0.0-6.x line), or 6.2024.10 (for 6.2022.1+ line) - choose the appropriate version based on your current branch

  1. 1. Backup your current Payara Server configuration and deployment files
  2. 2. Review Payara Server release notes for the target version to understand any changes
  3. 3. Test the upgrade in a non-production environment first
  4. 4. Stop the Payara Server instance
  5. 5. Replace the Payara Server installation directory with the new version, or use the upgrade tool if available
  6. 6. Restore your configuration files from the backup (or migrate as needed based on release notes)
  7. 7. Start the Payara Server instance
  8. 8. Verify the Admin Console is accessible and all deployed applications function correctly
Caveat Minor version upgrades within the same major.minor line typically have minimal breaking changes; however, always test in staging first as configuration changes between versions may be required

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Payara Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
18.0 hours of engineering $3,200
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-8215 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-8215 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data