CVE-2023-0044: Cross-site Scripting in Quarkus

Summary

23/02/2023
Yes i
Moderate
6.1

CVE-2023-0044: Cross-site Scripting in Quarkus. Affects io.quarkus:quarkus-vertx-http versions < 2.13.7.Final. Fixed in 2.13.7.Final. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Quarkus is a Java framework designed for developing cloud-native applications. It provides a lightweight and fast runtime for building scalable and efficient applications. The 'quarkus-vertx-http' package is a component of Quarkus that handles HTTP requests using the Vert.x library. This package is vulnerable to a cross-site scripting (XSS) attack when the Form Authentication session cookie Path attribute is set to /. This vulnerability can potentially lead to information disclosure.

Vulnerability Detail

The vulnerability arises due to improper handling of the session cookie Path attribute in Quarkus. When the Path attribute is set to /, it allows an attacker to initiate a cross-site scripting attack. This attack can be exploited to inject malicious scripts into web pages viewed by users, potentially leading to the disclosure of sensitive information or the execution of unauthorized actions. The vulnerability has a CVSS score of 6.1, indicating a moderate severity level.

How To Fix

Minimum fixed version

2.13.7.Final

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can manually set the session cookie Path attribute to a more restrictive value, such as a specific path within your application. This can be done by modifying the relevant configuration file or code snippet responsible for session management. Here's an example of how to set the Path attribute to '/app':

SessionCookieConfig sessionCookieConfig = new SessionCookieConfig();
sessionCookieConfig.setPath("/app");

Conclusion

The 'quarkus-vertx-http' package in Quarkus is vulnerable to a cross-site scripting (XSS) attack when the Form Authentication session cookie Path attribute is set to /. This vulnerability can be mitigated by updating to version 2.13.7.Final or later. It is important to promptly address this vulnerability to prevent potential information disclosure and protect the security and privacy of users. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for io.quarkus:quarkus-vertx-http →

Share this vulnerability

FAQ

Quarkus is a Java framework designed for developing cloud-native applications. It provides a lightweight and fast runtime for building scalable and efficient applications.

The 'quarkus-vertx-http' package is a component of Quarkus that handles HTTP requests using the Vert.x library. It is responsible for processing incoming HTTP requests and generating appropriate responses.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. These scripts can be used to steal sensitive information, perform unauthorized actions, or deface websites.

This vulnerability in Quarkus can potentially lead to the disclosure of sensitive information or the execution of unauthorized actions. An attacker can exploit the cross-site scripting vulnerability to inject malicious scripts into web pages viewed by users, compromising their security and privacy.

To fix this vulnerability, it is recommended to update the 'quarkus-vertx-http' package to version 2.13.7.Final or later. This version includes a fix for the improper handling of the session cookie Path attribute, preventing the possibility of a cross-site scripting attack.

Related vulnerabilities

Recent vulnerabilities recorded for io.quarkus:quarkus-vertx-http.

How To Fix

Minimum fixed version

2.13.7.Final

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback