CVE-2021-24220

Multiple Thrive Themes < 2.0.0 - Arbitrary File Upload

2021-03-24 00:00
Wordfence

Strategic Overview

Status
Patched in 2.0.0
Affected Theme
Ignition
Affected Version
< 2.0.0
CVSS
9.1Critical
Weakness type
CWE-434 · Unrestricted Upload of File with Dangerous Type
CVE
CVE-2021-24220
View all Ignition vulnerabilities

At a glance

CVE-2021-24220 is a critical-severity Unrestricted Upload of File with Dangerous Type vulnerability in the Ignition WordPress theme, affecting versions < 2.0.0. It carries a CVSS score of 9.1 (reachable over the network; low attack complexity; high integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 2.0.0; sites on affected versions should update now. Disclosed March 2021, reported by Wordfence.

Vulnerability Overview

Thrive “Legacy” Rise by Thrive Themes WordPress theme before 2.0.0, Luxe by Thrive Themes WordPress theme before 2.0.0, Minus by Thrive Themes WordPress theme before 2.0.0, Ignition by Thrive Themes WordPress theme before 2.0.0, FocusBlog by Thrive Themes WordPress theme before 2.0.0, Squared by Thrive Themes WordPress theme before 2.0.0, Voice WordPress theme before 2.0.0, Performag by Thrive Themes WordPress theme before 2.0.0, Pressive by Thrive Themes WordPress theme before 2.0.0, Storied by Thrive Themes WordPress theme before 2.0.0 register a REST API endpoint to compress images using the Kraken image optimization engine. By supplying a crafted request in combination with data inserted using the Option Update vulnerability, it was possible to use this endpoint to retrieve malicious code from a remote URL and overwrite an existing file on the site with it or create a new file.This includes executable PHP files that contain malicious code.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user. A successful exploit has high impact on integrity, availability.

CWE-434: Unrestricted Upload of File with Dangerous Type

Ignition < 2.0.0 carries this weakness at Legacy, and reaching it takes a caller who can reach the endpoint. An unrestricted file upload lets a caller store a file whose type or destination the application does not properly constrain.

If an uploaded file lands anywhere the server will execute, the flaw becomes remote code execution and the site should be treated as fully compromised. For Ignition the fix is 2.0.0: builds < 2.0.0 are affected, anything from 2.0.0 onward is not.

Remediation

Update to version 2.0.0, or a newer patched version

How does WordSec protect against this?

The attempt arrives as an ordinary request to Ignition: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Ignition 2.0.0 closes this, and updating the theme is the step that ends it.

  • Firewall
  • Scanner
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C