On 25 August Atlassian published a critical advisory for Confluence Server and Data Center: an OGNL injection flaw, CVE-2021-26084, that lets an attacker run arbitrary code on the server. The advisory now states that it can be exploited without authentication, regardless of configuration. Confluence Cloud was not affected. Within about a week a working proof of concept was public and mass scanning followed. On 3 September — the Friday before Labor Day — US Cyber Command warned that mass exploitation was ongoing and expected to accelerate, and CISA urged administrators to patch immediately.
Most of what has been publicly reported on compromised servers so far is cryptocurrency miners, which makes this look like a nuisance. From where my team sits it is nothing of the kind, because of what a wiki is.
What we find in wikis
My team spends its working weeks on authorised intrusions into client environments. Internal documentation is consistently among the most useful things we reach, and it is almost never treated as sensitive.
A mature internal wiki holds, roughly in order of usefulness to an intruder:
- Architecture. Network diagrams, system inventories, which hosts talk to which, where the backups live.
- Procedures. Runbooks for privileged tasks, onboarding guides, VPN setup instructions — the step-by-step version of how your administrators work.
- Credentials. They are not supposed to be there. In our engagements we find them more often than not: a service account password in a runbook, an API key on a troubleshooting page, a shared login on a page helpfully titled "Accounts".
- People. Who owns what, who is on call, who approves changes — the raw material for a convincing call to your help desk.
So read access alone is a reconnaissance gift. Code execution on the server is more: the application's service account, its database credentials and, frequently, its connection to your directory or single sign-on.
The miner is the cheap outcome
Commodity actors with a fresh exploit and a scanner take the cheapest monetisation available, and right now that is mining. For victims that is genuinely the better result. It is also not the end of the story.
The same access that yields a miner can be noticed, catalogued and sold, or used by a second actor who arrives quietly after the first. A miner tells you that someone achieved code execution. It does not tell you they were the only one, or that mining is all they did. Treat it the way we treated web shells on mail servers in March: the patch closes the hole, and the investigation answers whether anyone came through it.
Deprecated is not decommissioned
The clearest public example this month came from the Jenkins open-source project, which disclosed that its Confluence instance had been compromised through this flaw and that what it believed was a Monero miner had been installed. The service had been made read-only in October 2019, and the project had stopped relying on it day to day. It was still running, still reachable, and still integrated with the identity system behind other project services.
The project's response was a model of doing this properly: take the server offline, rotate privileged credentials, reset passwords across the integrated identity system, pause releases until trust could be re-established, and explain all of it in public. Their write-up is worth reading in full.
The lesson for everyone else is short. A read-only wiki is a running web application with every vulnerability of a live one. If it is retired, export the content to static pages and switch the server off.
Why this keeps happening to collaboration tools
The flaw class matters less than the deployment pattern.
They were exposed so people could work from home. Over the last eighteen months a great many internal tools were put on the internet so staff could reach them, usually as a temporary measure nobody revisited.
They are owned by teams, not by IT. Engineering runs the wiki; a project office runs the tracker. They get patched when the owner gets round to it, and the owner has a day job.
Upgrades are expensive. Moving versions means plugin compatibility testing and a maintenance window, so self-hosted instances drift several releases behind.
Exposed, unowned and behind is the same shape we wrote about with VPN concentrators last summer. The category changes. The shape does not.
What to do this week and this quarter
If you run self-hosted Confluence and patched after the end of August, assume exposure and look: unexpected processes started by the Confluence service, new files in the application directories, outbound connections the server has never made before, and sustained CPU load nobody can explain. If you find anything, rotate the service account, database and integration credentials the server held, and review directory activity originating from that host.
Find every self-hosted collaboration tool. Wikis, issue trackers, source control, document portals. Check your external DNS and your own address space, not just the asset register.
Take them off the internet. Put them behind the VPN or an authenticating proxy, so that an unauthenticated flaw needs an authenticated user to reach it. That single change converts a mass-exploitation event into a patch you can schedule.
Put whatever remains exposed in the 48-hour tier. Internet-facing plus pre-authentication code execution is the definition of tier one.
Search the wiki for secrets. Password, key, token, secret. Move what you find into a vault and rotate it, because anything that sat on a page should be considered read.
Ask whether you need to host it at all. The vendor-hosted edition of this product was not affected, and when a hosted edition is, the vendor does the patching. For a 200-person company, handing the patching problem to the vendor is often the right trade.
The view from the other side
When clients scope a red team engagement with us, nobody lists the wiki as a crown jewel. By the end of most engagements, it is what told us where the crown jewels were.
Patch it like the front door, because to anyone on the internet, that is what it is.
Sources
- Confluence Security Advisory 2021-08-25 — Atlassian, August 2021
- Atlassian Releases Security Updates for Confluence Server and Data Center — CISA, September 2021
- U.S. Cyber Command Warns of Ongoing Attacks Exploiting Atlassian Confluence Flaw — The Hacker News, September 2021
- Jenkins project Confluence instance attacked — Jenkins project, September 2021






