Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-52597

6.1 · MEDIUM
Published Nov 20, 2024 2fauth CWE-79 EPSS 0.37% (30th pctl)

Overview

CVE-2024-52597 is a medium-severity vulnerability affecting 2fauth 2fauth. It was published on November 20, 2024 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from 2fauth. Update 2fauth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
2fauth 2fauth >= 0, < 5.4.1 Affected

Frequently Asked Questions

What is CVE-2024-52597?

CVE-2024-52597 is a medium-severity vulnerability affecting 2fauth 2fauth. It was published on November 20, 2024 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2024-52597?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-52597?

Check the references section for vendor advisories and patches from 2fauth. Update 2fauth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-52597?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-52597 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.