Skip to content
Access control Write-up Beginner

Exploiting The Critical Confluence Data Center And Server Flaw Cve 2023 22518

An improper authorization flaw in Confluence Data Center and Server allows an unauthenticated attacker to upload a malicious ZIP file and create an administrator account, leading to full control and potential data loss. The exploit can also delete existing users and spaces, causing a denial-of-service condition.

grepStrength Follow

Published on systemweakness.com

If you have even heard of Bleeping Computer, chances are you’ve probably seen a bulletin or two for the recent critical Confluence Data Center and Server vulnerability, CVE-2023–22518. It has multiple proof-of-concept exploits available and is being exploited in the wild.

grepStrength, 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 a missing authorization check on a setup/restore endpoint that accepts file uploads, allowing unauthenticated access.

Impact

An unauthenticated attacker could create an admin account, leading to full loss of confidentiality, integrity, and availability, including deletion of users and spaces.

What the attacker needed

Vulnerable Confluence Data Center or Server; network access to the target

The fix

Atlassian recommends patching to one of the listed fixed versions.

How it was found

  1. Set up a vulnerable Confluence Data Center instance with PostgreSQL.
  2. Clone the exploit script from GitHub.
  3. Run the script and provide the target URL and path to a ZIP file.
  4. The script sends a POST request with a special header and form data.
  5. Log in with the default admin credentials created by the exploit.
  6. Observe that existing users and spaces have been deleted.

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.

Confluence is a collaboration tool used by teams. A security flaw let anyone upload a file without logging in, and that file could create a new admin account. The attacker could then take over the system and delete data.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by grepStrength

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.