iQ Block Country < 1.2.13 - Admin+ Arbitrary File Deletion via Zip Slip

2022-03-16 00:00
Ceylan Bozogullarindan

Strategic Overview

Status
Patched in 1.2.13
Affected PluginiQ Block Country
Affected Version< 1.2.13
CVSS6.8Medium
CVECVE-2022-0246
View all iQ Block Country vulnerabilities

Vulnerability Overview

The settings of the iQ Block Country WordPress plugin before 1.2.13 can be exported or imported using its backup functionality. An authorized user can import preconfigured settings of the plugin by uploading a zip file. After the uploading process, files in the uploaded zip file are extracted one by one. During the extraction process, existence of a file is checked. If the file exists, it is deleted without any security control by only considering the name of the extracted file. This behavior leads to "Zip Slip" vulnerability.

Technical Analysis

REMEDIATION: Update to version 1.2.13, or a newer patched version --- IDENTIFIER: 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.

External References

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