CVE-2023-50897

Media File Renamer <= 5.7.7 - Authenticated(Administrator+) Remote Code Execution

2023-12-26 00:00
Taihei Shimamine

Strategic Overview

Status
Patched in 5.7.8
Affected Version
<= 5.7.7
CVSS
6.6Medium
Weakness type
CWE-73 · External Control of File Name or Path
CVE
CVE-2023-50897
View all Media File Renamer: Rename for better SEO (AI-Powered) vulnerabilities

At a glance

CVE-2023-50897 is a medium-severity External Control of File Name or Path vulnerability in the Media File Renamer WordPress plugin, affecting versions <= 5.7.7. It carries a CVSS score of 6.6 (reachable over the network; high confidentiality, integrity, availability impact). Exploitation requires an authenticated account at Administrator level or above. The issue is fixed in version 5.7.8; sites on affected versions should update now. Disclosed December 2023, reported by Taihei Shimamine.

Vulnerability Overview

The Media File Renamer: Rename Files (Manual, Auto & AI) plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 5.7.7. This makes it possible for authenticated attackers, with administrator access and above, to execute code on the server by renaming files containing PHP code.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, and no interaction from a victim user. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.

CWE-73: External Control of File Name or Path

The product allows user input to control or influence paths or file names that are used in filesystem operations.

Remediation

Update to version 5.7.8, 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: Media File Renamer 5.7.8 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