CVE-2024-52597
Last modified
CVE-2024-52597 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 2fauth | 2fauth | < 5.4.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-52597?
How severe is CVE-2024-52597?
How do I fix CVE-2024-52597?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-52591Misskey is an open source, federated social media platform. …9.3
- CVE-2024-52592Misskey is an open source, federated social media platform. …5.3
- CVE-2024-52593Misskey is an open source, federated social media platform.I…5.3
- CVE-2024-52594Gomatrixserverlib is a Go library for matrix federation. Gom…4.3
- CVE-2024-52595lxml_html_clean is a project for HTML cleaning functionaliti…6.1
- CVE-2024-52596SimpleSAMLphp xml-common is a common classes for handling XM…8.8
- CVE-2024-525982FAuth is a web app to manage Two-Factor Authentication (2FA…7.5
- CVE-2024-52599Tuleap is an open source suite to improve management of soft…5.4
- CVE-2024-5260The Sina Extension for Elementor (Slider, Gallery, Form, Mod…5.4
- CVE-2024-52600Statmatic is a Laravel and Git powered content management sy…5.3
- CVE-2024-52601iTop is an web based IT Service Management tool. Prior to ve…6.5
- CVE-2024-52602Matrix Media Repo (MMR) is a highly configurable multi-homes…5.3
Are you affected by CVE-2024-52597?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
