Vulnerability Details CVE-2024-52597
2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Versions prior to 5.4.1 are vulnerable to stored cross-site scripting due to improper headers in direct access to uploaded SVGs. The application allows uploading images in several places. One of the accepted types of image is SVG, which allows JS scripting. Therefore, by uploading a malicious SVG which contains JS code, an attacker which is able to drive a victim to the uploaded image could compromise that victim's session and access to their tokens. Version 5.4.1 contains a patch for the issue.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.002
EPSS Ranking 42.6%
CVSS Severity
CVSS v3 Score 6.1
Products affected by CVE-2024-52597
-
cpe:2.3:a:2fauth:2fauth:1.0.0
-
cpe:2.3:a:2fauth:2fauth:1.1.0
-
cpe:2.3:a:2fauth:2fauth:1.2.0
-
cpe:2.3:a:2fauth:2fauth:1.3.0
-
cpe:2.3:a:2fauth:2fauth:1.3.1
-
cpe:2.3:a:2fauth:2fauth:2.0.0
-
cpe:2.3:a:2fauth:2fauth:2.0.1
-
cpe:2.3:a:2fauth:2fauth:2.0.2
-
cpe:2.3:a:2fauth:2fauth:2.1.0
-
cpe:2.3:a:2fauth:2fauth:3.0.0
-
cpe:2.3:a:2fauth:2fauth:3.0.1
-
cpe:2.3:a:2fauth:2fauth:3.0.2
-
cpe:2.3:a:2fauth:2fauth:3.1.0
-
cpe:2.3:a:2fauth:2fauth:3.1.1
-
cpe:2.3:a:2fauth:2fauth:3.2.0
-
cpe:2.3:a:2fauth:2fauth:3.3.0
-
cpe:2.3:a:2fauth:2fauth:3.3.1
-
cpe:2.3:a:2fauth:2fauth:3.3.2
-
cpe:2.3:a:2fauth:2fauth:3.3.3
-
cpe:2.3:a:2fauth:2fauth:3.4.0
-
cpe:2.3:a:2fauth:2fauth:3.4.1
-
cpe:2.3:a:2fauth:2fauth:3.4.2
-
cpe:2.3:a:2fauth:2fauth:4.0.0
-
cpe:2.3:a:2fauth:2fauth:4.0.1
-
cpe:2.3:a:2fauth:2fauth:4.0.2
-
cpe:2.3:a:2fauth:2fauth:4.0.3
-
cpe:2.3:a:2fauth:2fauth:4.1.0
-
cpe:2.3:a:2fauth:2fauth:4.2.0
-
cpe:2.3:a:2fauth:2fauth:4.2.1
-
cpe:2.3:a:2fauth:2fauth:4.2.2
-
cpe:2.3:a:2fauth:2fauth:4.2.3
-
cpe:2.3:a:2fauth:2fauth:4.2.4
-
cpe:2.3:a:2fauth:2fauth:5.0.0
-
cpe:2.3:a:2fauth:2fauth:5.0.1
-
cpe:2.3:a:2fauth:2fauth:5.0.2
-
cpe:2.3:a:2fauth:2fauth:5.0.3
-
cpe:2.3:a:2fauth:2fauth:5.0.4
-
cpe:2.3:a:2fauth:2fauth:5.1.0
-
cpe:2.3:a:2fauth:2fauth:5.1.1
-
cpe:2.3:a:2fauth:2fauth:5.2.0
-
cpe:2.3:a:2fauth:2fauth:5.3.0
-
cpe:2.3:a:2fauth:2fauth:5.3.1
-
cpe:2.3:a:2fauth:2fauth:5.3.2
-
cpe:2.3:a:2fauth:2fauth:5.4.0