CVE-2024-8706 JFinalCMS com.cms.util.TemplateUtils update path traversal

Medium 5.3 Published Updated

Remote attackers with permissions can exploit a path traversal vulnerability in JFinalCMS to read or modify arbitrary files via the template update function.

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

What is CVE-2024-8706?

CVE-2024-8706 is a medium-severity path traversal vulnerability in JFinalCMS, published on 11 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in JFinalCMS up to 20240903. It has been classified as problematic. This affects the function update of the file /admin/template/update of the component com.cms.util.TemplateUtils. The manipulation of the argument fileName leads to path traversal. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-22

Which versions are affected by CVE-2024-8706?

It affects 1 product.

Products include Heyewei Jfinalcms.

How do I fix CVE-2024-8706?

No fix has been published for CVE-2024-8706 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-8706 being exploited?

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

Sources

Also known as GHSA-fmrw-pfr8-r4j7.

Is CVE-2024-8706 in your software?

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

Check your SBOMs for free