CVE-2020-10257 Code injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary PHP code via the ThemeREX Addons plugin due to missing access control and unsafe parameter handling.

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-2020-10257?

CVE-2020-10257 is a critical code injection vulnerability in n/a, published on 9 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The ThemeREX Addons plugin before 2020-03-09 for WordPress lacks access control on the /trx_addons/v2/get/sc_layout REST API endpoint, allowing for PHP functions to be executed by any users, because includes/plugin.rest-api.php calls trx_addons_rest_get_sc_layout with an unsafe sc parameter.

Weakness: CWE-94, CWE-862

Which versions are affected by CVE-2020-10257?

It affects 63 products.

Products include Themerex Addons, Themerex Aldo-Gutenberg Wordpress Blog Theme, Themerex Amuli, Themerex Blabber, Themerex Bonkozoo Zoo, Themerex Briny-Diving Wordpress Theme and 57 more.

How do I fix CVE-2020-10257?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2020-10257 being exploited?

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

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-x679-h3r8-6399.

Is CVE-2020-10257 in your software?

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

Check your SBOMs for free