CVE-2021-24375 Motor theme < 3.1.0 - Local File Inclusion

Critical 9.8 Published Updated

Unauthenticated attackers can read arbitrary files and execute existing PHP scripts via Local File Inclusion in the Motor WordPress theme.

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-2021-24375?

CVE-2021-24375 is a critical path traversal vulnerability in Stockware Motor, published on 6 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Lack of authentication or validation in motor_load_more, motor_gallery_load_more, motor_quick_view and motor_project_quick_view AJAX handlers of the Motor WordPress theme before 3.1.0 allows an unauthenticated attacker access to arbitrary files in the server file system, and to execute arbitrary php scripts found on the server file system. We found no vulnerability for uploading files with this theme, so any scripts to be executed must already be on the server file system.

Weakness: CWE-22

Which versions are affected by CVE-2021-24375?

It affects 1 product.

Products include Stockware Motor.

How do I fix CVE-2021-24375?

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

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

Sources

Also known as GHSA-7ww7-rp6j-6vrg.

Is CVE-2021-24375 in your software?

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

Check your SBOMs for free