Understanding The Critical Cve 2023 22515 In Confluence Server
Confluence Server and Data Center allowed an unauthenticated attacker to re-enable the initial setup process by manipulating a configuration parameter through a chain of getters and setters, then create a new administrator account. This gave the attacker full administrative access to the application.
Confluence Server and Confluence Data Center are both software apps developed by Atlassian for collaboration, documentation, and team productivity. Here’s a brief explanation:
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
The application exposed a chain of getters and setters through URL parameters, allowing an attacker to call setSetupComplete(false) on the application configuration and re-enable the setup process.
Impact
An unauthenticated attacker could create a new administrator account and gain full administrative access to Confluence.
What the attacker needed
Confluence instance running a vulnerable version; Network access to the Confluence server
The fix
Upgrade to version 8.3.3, 8.4.3, or 8.5.2, or block access to /setup/* endpoints as a temporary mitigation.
How it was found
- Access the crafted URL that sets setupComplete to false.
- Navigate to the setup administrator start page.
- Create a new admin account.
- Verify the new user is in the confluence-administrators group.
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 team collaboration tool. Normally, after installation, the setup page is locked. This bug let anyone reopen that setup page and create a new admin account, giving them full control of the Confluence site.
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.