Critical Atlassian Vulnerability Exploited To Connect Servers In Mining Networks

Hackers usually shift their attention towards Atlassian due to flaws in its software, especially in products like Confluence, which put organizations’ private data at risk.

There are many exploits accessible over the Internet, and the ease of the attack vector is one reason that Atlassian servers are one of the desirable attack points.

Cybersecurity researchers at Trend Micro recently identified an Atlassian vulnerability that threat actors could exploit to connect servers in mining networks.

The vulnerability identified by researchers is tracked as “CVE-2023-22527,” which is marked as “Critical” with a CVSS score of 10.

Technical Analysis

On January 16, 2024, Atlassian disclosed CVE-2023-22527, which was found to affect Confluence Data Center and Server, enterprise-level collaboration platforms. 

In older versions, this vulnerability enables threat actors to exploit a template injection security flaw, which enables RCE (Remote Code Execution).

Besides this, the researchers observed a surge in exploitation attempts from mid-June to late July 2024, and they affirmed that this surge is primarily for cryptojacking purposes.

Attack chain used in the first attack vector (Source – Trend Micro)

There are three threat actors were detected, and among them, one was found to be utilizing the XMRig miner via an ELF file payload.

The exploitation of this critical vulnerability poses significant risks to the Confluence instances that are affected. 

Attack chain used in the second attack vector (Source – Trend Micro)

Not only that even it also gives the ability to the threat actors to compromise the system’s integrity, and resource allocation through unauthorized cryptocurrency mining activities.

Here below we have mentioned all the Confluence Data Center and Server versions that are affected:-

  • 8.0.x
  • 8.1.x
  • 8.2.x
  • 8.3.x
  • 8.4.x
  • 8.5.0-8.5.3

A threat actor used SSH to integrate cryptocurrency mining on available endpoints with a well-designed shell script that the actor deployed.

The script also terminated any active mining instances including those in the /tmp/ folders, modified temporally scheduled jobs to ping the C&C every 5 minutes, and turned off antivirus including Alibaba Cloud Shield and Tencent Cloud mirrors.

The target machine retrieved all system information available, including bash history, SSH config, and known hosts.

The script self-spreads to other systems via SSH with the following options:- 

  • -oStrictHostKeyChecking=no
  • -oBatchMode=yes
  • -oConnectTimeout=3

To remain undetected, it added cron jobs in different directories and with different names (whoami, nginx, apache) over cubic’s acquisition croninit.d, cron.hourly, and cron.d files.

Once cloud monitoring services and the CVE-2023-22527 exploit were stopped, it downloaded the XMRig miner.

In this way, the solr.sh function made sure that some of the additional security mechanisms were disabled before the beginning of mining.

To add more, the rnv2ymcl function removed log files and bash log history records to eliminate anything about the compromise.

Cybersecurity analysts urged users to update the Confluence software immediately to mitigate the widespread exploitation of CVE-2023-22527.

Download FreeIncident Response Plan Templatefor Your Security Team – Free Download

Raga Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago