WordPress security changelog
MEDIUM CVE-2022-0246 Modified

settings of the iQ Block Country: A security weakness

settings of the iQ Block Country is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 4.9 CVSS · contact@wpscan.com
NVD score 4.9 CVSS 3.1 · nvd@nist.gov
Component
settings of the iQ Block Country
Plugin slug
iq-block-country
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Apr 11, 2022
Weakness
CWE-73 — External Control of File Name or Path

This CVE was published Apr 11, 2022 and is one of 4 known issues for this plugin.

Update, patch or deactivate.

Update settings of the iQ Block Country to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

NVD vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Primary and upstream sources