CVE-2022-0593

Login with phone number <= 1.3.6 - Unauthenticated Remote Plugin Deletion

2022-02-16 00:00
Michal Lipinski

Strategic Overview

Status
Patched in 1.3.7
Affected Version
< 1.3.7
CVSS
6.5Medium
Weakness type
CWE-73 · External Control of File Name or Path
CVE
CVE-2022-0593
View all OTP Login With Phone Number, OTP Verification vulnerabilities

At a glance

CVE-2022-0593 is a medium-severity External Control of File Name or Path vulnerability in the OTP Login With Phone Number, OTP Verification WordPress plugin, affecting versions < 1.3.7. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 1.3.7; sites on affected versions should update now. Disclosed February 2022, reported by Michal Lipinski.

Vulnerability Overview

The Login with phone number WordPress plugin before 1.3.7 includes a file delete.php with no form of authentication or authorization checks placed in the plugin directory, allowing unauthenticated user to remotely delete the plugin files leading to a potential Denial of Service situation.

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 privileges on the target site, and no interaction from a victim user.

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 1.3.7, or a newer patched version

How does WordSec protect against this?

Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: 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: OTP Login With Phone Number, OTP Verification 1.3.7 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Scanner
  • Login Security

External References

Related records

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