CVE-2024-5587 Casdoor Configuration File app.conf file access

Medium 6.9 Published Updated

Remote attackers can access the Casdoor configuration file, potentially exposing sensitive settings, requiring immediate mitigation as no official fix is available.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5587?

CVE-2024-5587 is a medium-severity path traversal vulnerability in Casdoor, published on 2 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in Casdoor up to 1.335.0. It has been classified as problematic. Affected is an unknown function of the file /conf/app.conf of the component Configuration File Handler. The manipulation leads to files or directories accessible. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-266838 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-552

Which versions are affected by CVE-2024-5587?

How do I fix CVE-2024-5587?

No fix has been published for CVE-2024-5587 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5587 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5587 exists.

Sources

Also known as GHSA-cfc9-xjpj-j334.

Is CVE-2024-5587 in your software?

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

Check your SBOMs for free