Cloudanix VulnDB

CVE-2022-3124

Medium · 5.3

CVSS

5.3

EPSS

8.3%

Published

Oct 3, 2022

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

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.

Weaponized
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

  1. Locate the exposed plugin file-management endpoint
  2. Issue an unauthenticated rename request targeting another user's upload
  3. Supply a crafted destination filename that resolves to an arbitrary server path
  4. 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