CVE-2024-6486

ImageMagick Engine <= 1.7.10 - Authenticated (Administrator+) Remote Code Execution

2024-09-20 00:00
Chaiwat Thongyaem

Strategic Overview

Status
Patched in 1.7.11
Affected Plugin
ImageMagick Engine
Affected Version
<= 1.7.10
CVSS
7.2High
Weakness type
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVE
CVE-2024-6486
View all ImageMagick Engine vulnerabilities

At a glance

CVE-2024-6486 is a high-severity Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in the ImageMagick Engine WordPress plugin, affecting versions <= 1.7.10. It carries a CVSS score of 7.2 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 1.7.11; sites on affected versions should update now. Disclosed September 2024, reported by Chaiwat Thongyaem.

Vulnerability Overview

The ImageMagick Engine plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.7.10 via the 'cli_path' parameter. This is due to the plugin not properly restricting content in the ImageMagick path field. This makes it possible for unauthenticated attackers to execute arbitrary OS commands on the server leading to remote code execution.

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 interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Remediation

Update to version 1.7.11, or a newer patched version

How does WordSec protect against this?

An attacker needs Administrator access first, so the firewall sees the attempt as traffic from a logged-in account: 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: ImageMagick Engine 1.7.11 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Scanner
  • Alerts

External References

Related records

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