Vulnerability Details : CVE-2023-40273
The session fixation vulnerability allowed the authenticated user to continue accessing Airflow webserver even after the password of the user has been reset by the admin - up until the expiry of the session of the user. Other than manually cleaning the session database (for database session backend), or changing the secure_key and restarting the webserver, there were no mechanisms to force-logout the user (and all other users with that).
With this fix implemented, when using the database session backend, the existing sessions of the user are invalidated when the password of the user is reset. When using the securecookie session backend, the sessions are NOT invalidated and still require changing the secure key and restarting the webserver (and logging out all other users), but the user resetting the password is informed about it with a flash message warning displayed in the UI. Documentation is also updated explaining this behaviour.
Users of Apache Airflow are advised to upgrade to version 2.7.0 or newer to mitigate the risk associated with this vulnerability.
Products affected by CVE-2023-40273
- cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-40273
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 30 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-40273
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.0
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
2.1
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-09-27 |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
2.1
|
5.9
|
NIST |
CWE ids for CVE-2023-40273
-
Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.Assigned by: security@apache.org (Primary)
References for CVE-2023-40273
-
http://www.openwall.com/lists/oss-security/2023/08/23/1
oss-security - CVE-2023-40273: Session fixation in Apache Airflow web interface
-
https://www.openwall.com/lists/oss-security/2023/08/23/1
oss-security - CVE-2023-40273: Session fixation in Apache Airflow web interfaceMailing List;Third Party Advisory
-
https://lists.apache.org/thread/9rdmv8ln4y4ncbyrlmjrsj903x4l80nj
CVE-2023-40273: Session fixation in Apache Airflow web interface-Apache Mail ArchivesVendor Advisory
-
https://github.com/apache/airflow/pull/33347
Remove user sessions when resetting password by potiuk · Pull Request #33347 · apache/airflow · GitHubThird Party Advisory
Jump to