CVE-2024-52597

Medium

Description

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.

SeverityMedium
CVSS6.1
Exploit probability—
Product2fauth
PublishedNov 20, 2024
First seenNov 20, 2024

How to fix

Update
  • 2fauth 2fauth5.4.1 or later

Affected products

ProductAffected versionsFixed in
2fauth 2fauthv < 5.4.15.4.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.