WordPress security changelog
CRITICAL CVE-2020-10257 Modified

Addons: A security weakness

Addons is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 9.8 CVSS 3.0 · cve@mitre.org
NVD score 9.8 CVSS 3.1 · nvd@nist.gov
Component
Addons
Plugin slug
addons
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Mar 10, 2020
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')
CWE-862 — Missing Authorization

This CVE was published Mar 10, 2020 and is one of 4 known issues for this plugin.

Update, patch or deactivate.

Update Addons to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary and upstream sources