CVE-2022-4171

demon image annotation <= 5.0 - Improper Input Restriction Validation

2022-12-11 00:00
Ori Gabriel

Strategic Overview

Status
Patched in 5.1
Affected Plugin
demon image annotation
Affected Version
<= 5.0
CVSS
6.5Medium
Weakness type
CWE-1284 · Improper Validation of Specified Quantity in Input
CVE
CVE-2022-4171
View all demon image annotation vulnerabilities

At a glance

CVE-2022-4171 is a medium-severity Improper Validation of Specified Quantity in Input vulnerability in the demon image annotation WordPress plugin, affecting versions <= 5.0. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 5.1; sites on affected versions should update now. Disclosed December 2022, reported by Ori Gabriel.

Vulnerability Overview

The demon image annotation plugin for WordPress is vulnerable to improper input validation in versions up to, and including 5.0. This is due to the plugin improperly validating the number of characters supplied during an annotation despite there being a setting to limit the number characters input. This means that unauthenticated attackers can bypass the length restrictions and input more characters than allowed via the settings.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.

CWE-1284: Improper Validation of Specified Quantity in Input

The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.

Remediation

Update to version 5.1, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: demon image annotation 5.1 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

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