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

6.8
External Control of File Name or Path
CVE CVE-2022-0246
CVSS 6.8 (Medium)
Publicly Published March 16, 2022
Last Updated January 22, 2024
Researcher Ceylan Bozogullarindan

Description

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.

References

Share

Vulnerability Details for iQ Block Country

Software Type Plugin
Software Slug iq-block-country (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.2.13, or a newer patched version
Affected Version
  • < 1.2.13
Patched Version
  • 1.2.13

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation