Problem Spring4Shell is used to install Mirai

Trend Micro experts report that the recently discovered Spring4Shell problem is actively used by hackers since the beginning of April to spread the well-known Mirai malware, especially in the Singapore region.

It is assumed that the attacks began even before the Spring developers released fixes.

Let me remind you that the Spring4Shell vulnerability is associated with the CVE-2022-22963 and CVE-2022-22965 identifiers (9.8 points on the CVSS scale) and is a subject to a number of conditions, for example it can be used by attackers to remotely execute code in Spring Core applications, providing hackers with full control over compromised devices.

Only recently the Spring developers clarified in a blog post that the two vulnerabilities mentioned are not related, as originally was supposed. In fact, the greatest danger is the CVE-2022-22965 vulnerability. However, proof-of-concept exploits are available for both Spring4Shell and CVE-2022-22963, and Akamai experts have previously reported attempts to exploit both problems. According to the company, CVE-2022-22963 has been targeted by hackers since March 27, and attacks on Spring4Shell were first detected on March 30.

This vulnerability affects Spring MVC and Spring WebFlux applications running on JDK 9+. The specific exploit requires the application to run on Tomcat as a WAR. If the application is deployed as a Spring Boot jar executable, that is, by default, it is not vulnerable to the exploit. However, the nature of the vulnerability is such that there may be other ways to exploit it.the Spring developers explain in a blog post.

Now, Trend Micro researchers write that other hackers have also taken advantage of CVE-2022-22965, and exploiting the bug allows them to download Mirai samples in /tmp and run them after changing the resolution with chmod. After that, the attackers get several Mirai variations for various architectures and execute them using the wget.sh script.

Apparently, the active exploitation of the problem is currently focused on vulnerable web servers in Singapore, that is, it is possible that while the exploit is at the testing stage, and later the hackers will begin to scale their operation to other regions.

Previously, analysts from Microsoft and CheckPoint also warned about the exploitation of the Spring4Shell problem, but these campaigns were not crowned with great success, and there have not yet been reports of large-scale incidents.

Let me remind you that we also reported that New Mirai version attacks Zyxel devices.

Helga Smith

I was always interested in computer sciences, especially data security and the theme, which is called nowadays "data science", since my early teens. Before coming into the Virus Removal team as Editor-in-chief, I worked as a cybersecurity expert in several companies, including one of Amazon's contractors. Another experience: I have got is teaching in Arden and Reading universities.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button