CRITICAL🇵🇱 Wersja polska

CVE-2024-12225

CVSS 9.1v3.1pub. 2025-05-06upd. 2025-07-31

A vulnerability was found in Quarkus in the quarkus-security-webauthn module. The Quarkus WebAuthn module publishes default REST endpoints for registering and logging users in while allowing developers to provide custom REST endpoints. When developers provide custom REST endpoints, the default endpoints remain accessible, potentially allowing attackers to obtain a login cookie that has no corresponding user in the Quarkus application or, depending on how the application is written, could correspond to an existing user that has no relation with the current attacker, allowing anyone to log in as an existing user by just knowing that user's user name.

🤖 AI Analysis
How it works

The Quarkus WebAuthn module automatically publishes default REST endpoints supporting user registration and login. If a developer defines their own replacement endpoints, the default ones are not disabled and remain accessible from the network. An attacker can direct a request directly to the default endpoint, thereby bypassing any additional security logic implemented in custom endpoints. As a result, it is possible to obtain a session cookie without actual authentication (WebAuthn mechanism bypass) or hijack an existing user's session by providing only their username.

Impact

An attacker can log in to the application as any existing user by knowing only their username, or obtain a valid session cookie without any associated account — leading to unauthorized access and potential breach of application data confidentiality and integrity.

Mitigation & patch

Apply patches available from the vendor according to references (Red Hat: https://access.redhat.com/security/cve/CVE-2024-12225). As a temporary workaround, block access to default WebAuthn endpoints at the firewall level or application server configuration if they are not required.

Who is affected

Applications built on the Quarkus framework using the quarkus-security-webauthn module, in which a developer has defined their own custom REST endpoints replacing the default ones; versions indicated in vendor references

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Quarkus

    APP
    Quarkus
    < 3.15.3.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2022-4116CRITICAL9.8PL ✓same product

RCE w Quarkus Dev UI Config Editor poprzez drive-by localhost attack

CVE-2022-2466CRITICAL9.8PL ✓same product

Quarkus 2.10.x — brak zakończenia kontekstu nagłówków HTTP (HTTP Request Smuggling)

CVE-2021-26291CRITICAL9.1PL ✓same product

Apache Maven: podążanie za niezaufanymi repozytoriami HTTP (MitM)

CVE-2026-50559HIGH7.5same product

Quarkus is a Java framework for building cloud-native applications. Prior to versions 3.37.0, 3.36.3, 3.33.2.1...

CVE-2026-39852HIGH8.8same product

Quarkus is a Java framework for building cloud-native applications. In versions prior to 3.20.6.1, 3.27.3.1, 3...