Media File Renamer <= 5.7.7 - Authenticated(Administrator+) Remote Code Execution
Strategic Overview
- Status
- Patched in 5.7.8
- Affected Plugin
- Media File Renamer: Rename for better SEO (AI-Powered)
- Affected Version
<= 5.7.7- CVSS
- 6.6Medium
- Weakness type
- CWE-73 · External Control of File Name or Path
- CVE
CVE-2023-50897
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
Other vulnerabilities in Media File Renamer: Rename for better SEO (AI-Powered)
- 8.8CVE-2021-36850: Media File Renamer – Auto & Manual Rename CSRF
CVE-2021-36850 - 8.8Media File Renamer – Auto & Manual Rename Missing Authorization Checks
- 6.4CVE-2014-2040: Media File Renamer < 1.9.4 Stored Cross-Site Scripting
CVE-2014-2040 - 5.3CVE-2023-44991: Media File Renamer <= 5.6.9 Info Exposure
CVE-2023-44991
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C