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 TeamFree 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

INE Security Alert: Expediting CMMC 2.0 Compliance

INE Security, a leading global provider of cybersecurity training and certifications, today announced a new…

13 hours ago

Subaru’s STARLINK Connected Car’s Vulnerability Let Attackers Gain Restricted Access

In a groundbreaking discovery on November 20, 2024, cybersecurity researchers Shubham Shah and a colleague…

3 days ago

Android Kiosk Tablets Vulnerability Let Attackers Control AC & Lights

A security flaw found in Android-based kiosk tablets at luxury hotels has exposed a grave…

3 days ago

CISA Releases Six ICS Advisories Details Security Issues

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) issued six Industrial Control Systems (ICS) advisories…

3 days ago

Juniper Routers Exploited via Magic Packet Vulnerability to Deploy Custom Backdoor

A sophisticated cyber campaign dubbed "J-magic" has been discovered targeting enterprise-grade Juniper routers with a…

3 days ago

Beware of Fake Captcha Verifications Spreading Lumma Malware

In January, Netskope Threat Labs uncovered a sophisticated global malware campaign leveraging fake CAPTCHA pages…

3 days ago