CVE-2024-34706CWE-532

@valtimo/components exposes access token to form.io

Critical · published May 13, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
64.2
In the wild
Unconfirmed
What it is

🚨 A misconfigured form in Valtimo can unleash chaos by exposing user access tokens — think of it as a pizza delivery app that accidentally prints your personal details right on the pizza box! 🍕 Imagine you ordered a pizza and the delivery guy accidentally leaves your credit card info on the box for everyone to see. This vulnerability lets attackers sniff out sensitive JWT tokens in transit, opening the door for them to impersonate users or snatch personal data. This is absolutely devastating! An attacker who intercepts the network traffic could retrieve private information from the access token or even issue requests to the Valtimo API as if they were the logged-in user. With the default token lifespan being just 5 minutes, the window of opportunity is short but dangerous!

Put simply

Imagine you ordered a pizza and the delivery guy accidentally leaves your credit card info on the box for everyone to see. This vulnerability lets attackers sniff out sensitive JWT tokens in transit, opening the door for them to impersonate users or snatch personal data. This vulnerability stems from a misconfiguration in the Form.io component, which exposes the user's JWT token in the `x-jwt-token` header when opening forms. Attackers with access to the network can exploit this and perform unauthorized actions.

What to do

This is absolutely devastating! An attacker who intercepts the network traffic could retrieve private information from the access token or even issue requests to the Valtimo API as if they were the logged-in user. With the default token lifespan being just 5 minutes, the window of opportunity is short but dangerous! To patch this vulnerability, upgrade to Valtimo versions 10.8.4, 11.1.6, or 11.2.2 immediately. Additionally, review your network security to prevent unauthorized access, and consider adding encryption to protect sensitive data in transit. You've got this! Follow these steps, and you'll ensure your Valtimo setup is secure and ready to protect your users. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01057 · 64.2th percentile
Weakness
CWE-532 · Insertion of Sensitive Information into Log File
Published
2024-05-13T16:02Z
EPSS history
Timeline
  • 13 MAY 16:02Z
    @valtimo/components exposes access token to form.io
    cvelistv5