Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Supply Chain Security

Developers Warned of Critical Remote Code Execution Flaw in Quarkus Java Framework

Developers have been warned that the popular Quarkus framework is affected by a critical vulnerability that could lead to remote code execution.

Available since 2019, Quarkus is an open source Kubernetes-native Java framework designed for GraalVM and HotSpot virtual machines.

Developers have been warned that the popular Quarkus framework is affected by a critical vulnerability that could lead to remote code execution.

Available since 2019, Quarkus is an open source Kubernetes-native Java framework designed for GraalVM and HotSpot virtual machines.

Tracked as CVE-2022-4116 (CVSS score of 9.8), the security defect was identified in the Dev UI Config Editor and can be exploited via drive-by localhost attacks.

“Exploiting the vulnerability isn’t difficult and can be done by a malicious actor without any privileges,” Contrast Security researcher Joseph Beeton, who discovered the bug, explains.

Because localhost-bound services are, in fact, accessible from the outside, an attacker can create a malicious website to target developers who are using vulnerable instances of Quarkus, the security researcher says.

“If a developer running Quarkus locally visits a website with malicious JavaScript, that JavaScript can silently execute code on the developer’s machine,” Beeton notes.

The issue is that the JavaScript code can make requests to localhost without a preflight request. Called ‘simple requests’, these do not return data to the calling JavaScript, but the time it took to respond can be used to infer whether the request was successful.

“Within those constraints, it is possible to access localhost and, in certain circumstances, to trigger arbitrary code execution,” Beeton explains.

Advertisement. Scroll to continue reading.

The researcher has published proof-of-concept (PoC) code that launches the calculator application on the target machine, but warns that malicious exploitation of the bug could have broad impact, depending on the access the developer has to secret keys, servers, and other resources.

“However, the potential exists for the silent code to take more damaging actions such as installing a keylogger on the local machine to capture login information to production systems, or using GitHub tokens to modify source code,” Beeton notes.

The researcher also points out that attackers may attempt to launch spearphishing attacks targeting developers who are using Quarkus, to trick them into clicking a link leading to JavaScript code exploiting the vulnerability.

This week, Quarkus announced that patches for CVE-2022-4116 have been included in the 2.14.2.Final and 2.13.5.Final releases of the framework, warning that malicious attackers could exploit the bug to gain local access to development tools and urging developers to update as soon as possible.

In an advisory, Red Hat said that its own build of Quarkus is impacted as well, without sharing details on when it might release patches.

Related: US Gov Issues Guidance for Developers to Secure Software Supply Chain

Related: Organizations Warned of Critical Vulnerability in Backstage Developer Portal Platform

Related: GitHub Announces Mandatory 2FA for Code Contributors

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.