Skip to content
RCE Write-up Advanced

Unraveling Three Critical Vulnerabilities in Atlassian Confluence: CVE-2023–22515, CVE-2023–22518…

The article describes three critical vulnerabilities in Atlassian Confluence: CVE-2023-22527 allows unauthenticated remote code execution via template injection; CVE-2023-22515 allows authentication bypass and administrative user creation; CVE-2023-22518 allows unauthorized actions via improper authorization. Attackers could execute arbitrary code, gain control, or access sensitive data.

systemweakness.com

Published on systemweakness.com

Free version of this article

ElNiak, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely improper handling of user input in templates and insufficient authorization checks in specific endpoints.

Impact

Attackers could execute arbitrary code, gain unauthorized access or control over Confluence servers, and perform unauthorized actions leading to data leakage or modifications.

What the attacker needed

Unauthenticated network access to Confluence

The fix

Atlassian released patches and updates for the affected versions; for CVE-2023-22527, versions 8.5.4 LTS and above contain fixes.

How it was found

  1. Manipulate how Confluence’s Xwork interceptors parse URL parameters to influence object properties.
  2. Target the /server-info.action endpoint to bypass restrictions on /setup/* endpoints.
  3. Reset the setup completion flag to unlock restricted setup functionalities.
  4. Bypass Cross-Site Request Forgery protections using a specific header.
  5. Create a new administrative user and finalize the setup to gain full control.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

These are security holes in Atlassian Confluence, a team collaboration tool. One lets an attacker run their own commands on the server without logging in, another lets them bypass login and create an admin account, and a third lets them perform actions they shouldn't be allowed to do. All three are rated maximum severity.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.