CVE-2024-25128CWE-287

Flask-AppBuilder incorrect authentication when using auth type OpenID

Critical · published February 28, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
58.0
In the wild
Unconfirmed
What it is

🚨 A crafty HTTP request could unlock a treasure chest of unauthorized access! The vulnerability in Flask-AppBuilder's OpenID 2.0 implementation is quite the game changer. 🔥 Think of it like a hotel check-in where a guest pretends to be someone else by showing a fake ID — the hotel staff just accepts it without question. If successfully executed, the attacker could gain entry and access rooms they shouldn't! If an attacker exploits this vulnerability, they could potentially gain authorized access to sensitive parts of the application, leading to data theft, manipulation, or even full control over the system. This could be absolutely devastating for any organization relying on Flask-AppBuilder, as the integrity of user data and application security would be at stake.

Put simply

Think of it like a hotel check-in where a guest pretends to be someone else by showing a fake ID — the hotel staff just accepts it without question. If successfully executed, the attacker could gain entry and access rooms they shouldn't! This vulnerability allows an attacker to forge HTTP requests while the application is set to AUTH_TYPE AUTH_OID, tricking the backend into using a malicious OpenID service. This is particularly risky when deploying custom OpenID services that the attacker controls.

What to do

If an attacker exploits this vulnerability, they could potentially gain authorized access to sensitive parts of the application, leading to data theft, manipulation, or even full control over the system. This could be absolutely devastating for any organization relying on Flask-AppBuilder, as the integrity of user data and application security would be at stake. Upgrade to Flask-AppBuilder version 4.3.11 immediately to close this significant security gap. Additionally, review and tighten your OpenID configurations to ensure only trusted services are being used. Don't forget to audit your application for any potential misuse of this loophole! You’ve got this! By addressing this vulnerability, you can secure your application and keep your users safe. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00857 · 58.0th percentile
Weakness
CWE-287 · Improper Authentication
Published
2024-02-28T15:30Z
EPSS history
Timeline
  • 28 FEB 15:30Z
    Flask-AppBuilder incorrect authentication when using auth type OpenID
    cvelistv5