Common Weakness Enumeration

CWE-102

Allowed

Struts: Duplicate Validation Forms

Abstraction: Variant · Status: Incomplete

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.

1 vulnerability references this CWE, most recent first.

GHSA-5G7J-9R76-23CC

Vulnerability from github – Published: 2022-12-20 18:30 – Updated: 2022-12-20 18:30
VLAI
Details

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 ID: A-227203202

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-20520"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-102",
      "CWE-1021"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-12-16T16:15:00Z",
    "severity": "HIGH"
  },
  "details": "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 ID: A-227203202",
  "id": "GHSA-5g7j-9r76-23cc",
  "modified": "2022-12-20T18:30:20Z",
  "published": "2022-12-20T18:30:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-20520"
    },
    {
      "type": "WEB",
      "url": "https://source.android.com/security/bulletin/pixel/2022-12-01"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

Mitigation
Implementation

The DTD or schema validation will not catch the duplicate occurrence of the same form name. To find the issue in the implementation, manual checks or automated static analysis could be applied to the xml configuration files.

No CAPEC attack patterns related to this CWE.