Skip to content
RCE Write-up Advanced

[0day] Critical RCE Vulnerability in Atlassian Confluence (CVE-

Confluence misused Struts2 package inheritance, letting an unauthenticated attacker bypass authentication checks in some interfaces. By chaining backend API calls, the attacker could execute arbitrary code and wipe Confluence data.

AerieWhole123 Follow

Published on medium.com

Atlassian Confluence is a popular collaboration and knowledge management platform used by teams worldwide.

AerieWhole123, on medium.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 subpackage inherited interfaces from a parent Struts2 package but not the security controls attached to them, so some endpoints lacked authentication checks.

Impact

An unauthenticated attacker could partially bypass authentication, take control of the server through chained API calls, and wipe Confluence data, causing irreversible damage.

What the attacker needed

Network access to Confluence; no login required

The fix

Atlassian released patched versions and users should upgrade to the fixed releases; temporary mitigations include backing up data, avoiding public exposure, and restricting access with network ACLs.

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. A mistake in how it reused code from a framework called Struts2 meant some parts did not check who was calling them. An attacker with no login could send a series of requests that ended up running their own code on the server.

What is RCE?

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

More by AerieWhole123

View all

16 more disclosed reports, best first.

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.