CVE-2024-38810 Missing Authorization When Using @AuthorizeReturnObject

Medium 6.5 Published Updated

Attackers can bypass security annotations in Spring Security, rendering authorization checks ineffective and potentially exposing protected resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-38810?

CVE-2024-38810 is a medium-severity missing authorization vulnerability in spring security, published on 20 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Missing Authorization When Using @AuthorizeReturnObject in Spring Security 6.3.0 and 6.3.1 allows attacker to render security annotations inaffective.

Weakness: CWE-862, CWE-287

Which versions are affected by CVE-2024-38810?

2 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 1 product.

PackageAffectedFixed in
org.springframework.security:spring-security-core MavenFrom 6.3.06.3.2
org.springframework.security:spring-security-core MavenFrom 6.3.06.3.2

Products include Vmware Spring Security.

How do I fix CVE-2024-38810?

Upgrade org.springframework.security:spring-security-core to 6.3.2 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-38810 being exploited?

There is no known exploitation of CVE-2024-38810 in the wild and no public exploit code.

Sources

Also known as GHSA-hmqf-wpq9-jq83.

Is CVE-2024-38810 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free