Friday, January 24, 2025
HomeCyber AttackCritical RCE Flaw Found in Popular Post-Exploitation Cobalt Strike Toolkit

Critical RCE Flaw Found in Popular Post-Exploitation Cobalt Strike Toolkit

Published on

SIEM as a Service

Follow Us on Google News

Recently, a brand-new out-of-band security update (Cobalt Strike 4.7.2) has been released by HelpSystems to fix an RCE vulnerability in the post-exploitation Cobalt Strike toolkit.

The RCE vulnerability has been identified and reported by the security experts from the X-Force Red Adversary Simulation Team, Rio Sherri (0x09AL) and Ruben Boonen (FuzzySec).

They also shared all the key findings with HelpSystems to help them in mitigating this critical RCE vulnerability.

RCE Vulnerability

Cobalt Strike version 4.7.1 is affected by this vulnerability, which has been identified as CVE-2022-42948. During the September 20, 2022 patching cycle, an incomplete patch was released that resulted in this vulnerability. With this patch, the XSS vulnerability (CVE-2022-39197) has been fixed.

In order to exploit this XSS vulnerability, certain client-side UI input fields would need to be manipulated. While it is important to note that this manipulation can be accomplished with the help of the following form factors:-

  • Simulation of a Cobalt Strike implant check-in.
  • Affixing a Cobalt Strike implant running on a host.

In Cobalt Strike, the Java Swing framework, the toolkit that was used for the design of Cobalt Strike, could be used in certain cases in order to trigger the RCE.

A number of Java Swing components interpret the text automatically that starts with an HTML tag (“<html>”) as HTML content, and here an object tag can be used in this situation in order to exploit this vulnerability.

Here below we have mentioned a video in which you can see the flaw in action:-

Depending on the web server that is used, the Cobalt Strike client can actually load a malicious payload from the webserver and execute it. However, this behavior could be mitigated by disabling the auto-parsing of HTML tags.

As a result of this flaw, attackers could exploit it in order to load malicious payloads hosted on remote servers using an HTML <object> tag. Then in the user interface of the Cobalt strike, it is injected into the note field or the graphical file explorer menu.

This demonstrates how authentic tools like Cobalt Strike can be weaponized by threat actors for the purpose of executing a number of cyberattacks.

Also Read: Download Secure Web Filtering – Free E-book

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

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

Android Kiosk Tablets Vulnerability Let Attackers Control AC & Lights

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

CISA Releases Six ICS Advisories Details Security Issues

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

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

API Security Webinar

Free Webinar - DevSecOps Hacks

By embedding security into your CI/CD workflows, you can shift left, streamline your DevSecOps processes, and release secure applications faster—all while saving time and resources.

In this webinar, join Phani Deepak Akella ( VP of Marketing ) and Karthik Krishnamoorthy (CTO), Indusface as they explores best practices for integrating application security into your CI/CD workflows using tools like Jenkins and Jira.

Discussion points

Automate security scans as part of the CI/CD pipeline.
Get real-time, actionable insights into vulnerabilities.
Prioritize and track fixes directly in Jira, enhancing collaboration.
Reduce risks and costs by addressing vulnerabilities pre-production.

More like this

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

Android Kiosk Tablets Vulnerability Let Attackers Control AC & Lights

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

CISA Releases Six ICS Advisories Details Security Issues

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