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

External Control of File Name or Path
CVE CVE-2022-0246
CVSS Medium (6.8)
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

1 affected software package

Software Type Plugin
Software Slug iq-block-country (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.2.13
Patched Version
  • 1.2.13
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.