CVE-2024-7257 File upload in YayExtra – WooCommerce Extra Product Options
Unauthenticated attackers can upload arbitrary files via missing validation, potentially leading to remote code execution on WordPress sites using this plugin.
- 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-7257?
CVE-2024-7257 is a critical vulnerability in yaycommerce YayExtra – WooCommerce Extra Product Options, published on 3 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The YayExtra – WooCommerce Extra Product Options plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the handle_upload_file function in all versions up to, and including, 1.3.7. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Weakness: CWE-434
Which versions are affected by CVE-2024-7257?
How do I fix CVE-2024-7257?
No fix has been published for CVE-2024-7257 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-7257 being exploited?
There is no known exploitation of CVE-2024-7257 in the wild and no public exploit code.
Sources
Also known as GHSA-g37f-5jcr-xgp3.