CVE-2022-0246
iQ Block Country < 1.2.13 - Admin+ Arbitrary File Deletion via Zip Slip
mediumExternal Control of File Name or Path
6.8
CVSS Score
6.8
CVSS Score
medium
Severity
1.2.13
Patched in
678d
Time to patch
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<1.2.13PublishedMarch 16, 2022
Last updatedJanuary 22, 2024
Affected pluginiq-block-country
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.