VYPR

CWE-102

Struts: Duplicate Validation Forms

VariantIncomplete

Description

The product uses multiple validation forms with the same name, which might cause the Struts Validator to validate a form that the programmer does not expect.

If two validation forms have the same name, the Struts Validator arbitrarily chooses one of the forms to use for input validation and discards the other. This decision might not correspond to the programmer's expectations, possibly leading to resultant weaknesses. Moreover, it indicates that the validation logic is not up-to-date, and can indicate that other, more subtle validation errors are present.

Hierarchy (View 1000)

Children

none

CVEs mapped to this weakness (1)

  • CVE-2022-20520HigDec 16, 2022
    risk 0.51cvss 7.8epss 0.00

    In onCreate of various files, there is a possible tapjacking/overlay attack. This could lead to local escalation of privilege or denial of server with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android…