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-56734

6.1 · MEDIUM
Published Dec 30, 2024 better-auth CWE-601 EPSS 0.40% (33th pctl)

Overview

CVE-2024-56734 is a medium-severity vulnerability affecting better-auth better_auth. It was published on December 30, 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

Better Auth is an authentication library for TypeScript. An open redirect vulnerability has been identified in the verify email endpoint of all versions of Better Auth prior to v1.1.6, potentially allowing attackers to redirect users to malicious websites. This issue affects users relying on email verification links generated by the library. The verify email callback endpoint accepts a `callbackURL` parameter. Unlike other verification methods, email verification only uses JWT to verify and redirect without proper validation of the target domain. The origin checker is bypassed in this scenario because it only checks for `POST` requests. An attacker can manipulate this parameter to redirect users to arbitrary URLs controlled by the attacker. Version 1.1.6 contains a patch for the issue.

Remediation

Check the references section for vendor advisories and patches from better-auth. Update better_auth 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
better-auth better_auth >= 0, < 1.1.6 Affected

Frequently Asked Questions

What is CVE-2024-56734?

CVE-2024-56734 is a medium-severity vulnerability affecting better-auth better_auth. It was published on December 30, 2024 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2024-56734?

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-56734?

Check the references section for vendor advisories and patches from better-auth. Update better_auth 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-56734?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56734 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.