CVE-2022-41712 Path traversal in Frappe

Medium 6.5 Published Updated

An attacker can read arbitrary local files via the import_file parameter in Frappe, exposing sensitive system data.

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-2022-41712?

CVE-2022-41712 is a medium-severity path traversal vulnerability in Frappe, published on 25 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Frappe version 14.10.0 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not correctly validate the information injected by the user in the import_file parameter.

Weakness: CWE-22

Which versions are affected by CVE-2022-41712?

It affects 1 product.

Products include Frappe Frappe.

How do I fix CVE-2022-41712?

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

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

Sources

Also known as GHSA-rfgc-5r25-fw46.

Is CVE-2022-41712 in your software?

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

Check your SBOMs for free