Attacker used an Apache Axis flaw in Confluence to steal secrets, Rapid7 says
- Affected
- Confluence Data Center 1.x through 9.x with the Remote API (XML-RPC & SOAP) turned on, Atlassian says. All versions and fixes
- Vendors
- Atlassian, Apache Software Foundation
An attacker exploited , an Apache Axis flaw that runs code without a login, on a Confluence Data Center server on Nov 13, Rapid7 says. Using credentials stored in Confluence, the attacker reached a production cloud data warehouse within about four hours. Only servers with the Remote API (XML-RPC & SOAP) turned on are exposed, a setting off by default since Confluence 3.0. Atlassian fixed the flaw in 9.2.28 on Nov 10.
Apache disclosed the flaw, an unsafe reflection bug in Axis 1.x through 1.4, on Nov 6. Axis is a SOAP library for building Java web services, and CISA scored the flaw 9.8. Axis 1.x has reached end of life, and Apache doesn’t plan a fixed release, Rapid7 says. Confluence uses Axis for its XML-RPC and SOAP APIs. With the Remote API turned on, an unauthenticated attacker who can reach the server can run commands as the Confluence operating-system account, Atlassian says. Confluence 10 removed the feature, and Atlassian Cloud isn’t affected.
Rapid7’s MDR team saw unauthenticated POST requests to the server’s Axis SOAP endpoint, each answered with an HTTP 500 error. Within seconds, Confluence’s Java process started Bash and curl as the confluence service account. The attacker then ran hundreds of hex-encoded commands and scripts fetched from temporary Pinggy and Cloudflare Tunnel domains. Their numbered, labeled output suggests AI-assisted automated tooling, Rapid7 says.
Just over three minutes after first running code, the attacker signed in to MySQL with Confluence’s own database credentials. They searched page bodies, application links and attachments for credentials, tokens, VPN configurations and private keys, and hunted for payment card numbers. They also queried the Atlassian Crowd API for users and groups and tried AS-REP roasting against a domain controller, which failed.
About four hours after the first exploit request, the attacker began querying the cloud data warehouse with a service account credential. About 12 hours in, they signed in to Microsoft 365 as an integration service account using legacy authentication from . The same address appeared in exploit requests and in the Pinggy tunnel’s hostname.
N-able’s N-central also uses the vulnerable Axis library, through its Legacy API, and Rapid7 ties N-able’s Nov 13 report of attacks on N-central to the same flaw. Both products need a non-default setting to be exposed. Rapid7 recommends fixing exposed systems on an emergency basis, outside normal patch cycles, and then looking for signs of compromise.
- Vendors
- Atlassian, Apache Software Foundation
What to do
7 steps
Affected and fixed versions
| Product | Affected | Fixed |
|---|---|---|
| Confluence Data Center | 1.x through 9.x before 9.2.28, with the Remote API turned on | 9.2.28, or 10.x, which removed the feature |
| Apache Axis | 1.x through 1.4 | None planned, since Axis 1.x is end of life, though Apache offers a patch |
- Product
- Confluence Data Center
- Affected
- 1.x through 9.x before
9.2.28, with the Remote API turned on - Fixed
9.2.28, or 10.x, which removed the feature
- Product
- Apache Axis
- Affected
- 1.x through
1.4 - Fixed
- None planned, since Axis 1.x is end of life, though Apache offers a patch
Indicators
IPs and domains copy defanged. Use Copy raw for queries.
| Type | Value | Note |
|---|---|---|
| IP address | Exploit source and the Microsoft 365 sign-in address | |
| IP address | Tied to the Confluence exploitation, Rapid7 says | |
| IP address | Tied to the Confluence exploitation, Rapid7 says | |
| IP address | Tied to the Confluence exploitation, Rapid7 says | |
| Domain | Pinggy tunnel that served the attacker’s scripts | |
| Domain | Cloudflare Tunnel domain, where Rapid7 lists any subdomain | |
| Domain | Public request-capture service tied to the attack, Rapid7 says |
- IP addressExploit source and the Microsoft 365 sign-in address
- IP addressTied to the Confluence exploitation, Rapid7 says
- IP addressTied to the Confluence exploitation, Rapid7 says
- IP addressTied to the Confluence exploitation, Rapid7 says
- DomainPinggy tunnel that served the attacker’s scripts
- DomainCloudflare Tunnel domain, where Rapid7 lists any subdomain
- DomainPublic request-capture service tied to the attack, Rapid7 says
Timeline
- Nov 6Apache discloses the Axis 1.x flaw.
- Nov 10Atlassian releases Confluence Data Center
9.2.28with the fix. - Nov 13Rapid7’s MDR team sees the flaw exploited on a customer’s Confluence server.
- Nov 13N-able reports attacks on N-central through a flaw that Rapid7 ties to the same Axis bug.
- Nov 16Rapid7 publishes its analysis.
- Nov 17Rapid7 adds the Confluence intrusion and its indicators.
Sources
- Rapid7 researchPrimary source rapid7.com
- Atlassian advisory CONFSERVER-104610Primary source jira.atlassian.com