CVE-2022-3124
Medium · 5.3CVSS
5.3
EPSS
8.3%
Published
Oct 3, 2022
CISA due date
—
Cloudanix analysis
A website file-management add-on lets outsiders rename and overwrite important site files without logging in, potentially allowing them to change how the site behaves.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
The flaw permits unauthenticated remote users to invoke file rename operations on uploads belonging to other users; missing destination filename validation further allows arbitrary file content replacement on the server filesystem.
Why it matters to the business
Attackers can silently alter website files, enabling content tampering, injection of malicious scripts, or site disruption that may require emergency recovery and erode visitor trust.
How an attack unfolds
An attacker issues direct unauthenticated requests to the plugin's file-management endpoints, supplies a rename action with an attacker-controlled destination path, and overwrites chosen server files such as PHP scripts or configuration entries; public weaponized exploits facilitate rapid automation of this sequence.
How to fix it
Disable or replace the affected plugin until a patched release is published; apply any subsequent vendor update that enforces authentication on rename operations and validates destination paths; restrict web-server write permissions on sensitive directories.
How to confirm the fix worked
Confirm that rename endpoints now require authenticated sessions and reject path-traversal or absolute filenames; retest with crafted requests to ensure modifications are blocked and review server logs for prior unauthorized rename attempts.
Typical attack path
- Locate the exposed plugin file-management endpoint
- Issue an unauthenticated rename request targeting another user's upload
- Supply a crafted destination filename that resolves to an arbitrary server path
- Trigger or verify the overwritten file executes attacker-controlled content
How to detect it
Inspect web-server access logs for unauthenticated requests containing rename-related parameters directed at plugin AJAX handlers; correlate with file-system timestamps showing recent modifications to files not performed by legitimate administrative accounts.
- POST or GET parameters containing rename_file or equivalent action names
- Requests to admin-ajax.php or plugin-specific endpoints lacking session cookies
- File modification events on .php or .js files inside wp-content without corresponding admin activity
What your security team should do
- Audit all sites for presence of the vulnerable plugin and document exposure
- Temporarily disable the plugin or restrict its endpoints via WAF rules
- Monitor file-integrity systems for unexpected modifications in web-root directories
- Subscribe to plugin update notifications and schedule immediate patching when available
The record
The Frontend File Manager Plugin WordPress plugin before 21.3 allows any unauthenticated user to rename uploaded files from users. Furthermore, due to the lack of validation in the destination filename, this could allow allow them to change the content of arbitrary files on the web server
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:16.04:LTS | wordpress | 0 | No fix |
| Ubuntu:18.04:LTS | wordpress | 0 | No fix |
| Ubuntu:20.04:LTS | wordpress | 0 | No fix |
| Ubuntu:22.04:LTS | wordpress | 0 | No fix |
| Ubuntu:24.04:LTS | wordpress | 0 | No fix |
| Ubuntu:24.10 | wordpress | 0 | No fix |
| Ubuntu:25.04 | wordpress | 0 | No fix |
| Ubuntu:25.10 | wordpress | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | wordpress | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | wordpress | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | wordpress | 0 | No fix |
Related vulnerabilities
- CVE-2022-4973 WordPress Core, in versions up to 6.0.2, is vulnerable to Authenticated Stored Cross-Site… Also affects wordpress
- CVE-2024-32111 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… Also affects wordpress
- CVE-2024-31111 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site… Also affects wordpress
- CVE-2024-6307 WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various… Also affects wordpress
- CVE-2024-4439 WordPress Core is vulnerable to Stored Cross-Site Scripting via user display names in the… Also affects wordpress
- CVE-2023-5692 WordPress Core is vulnerable to Sensitive Information Exposure in versions up to, and… Also affects wordpress
- CVE-2024-31211 WordPress is an open publishing platform for the Web. Also affects wordpress
- CVE-2024-31210 WordPress is an open publishing platform for the Web. Also affects wordpress