Umbra Wiki attack-pattern attack-pattern/CAPEC-229
Back to wiki

CAPEC-229 — Serialized Data Parameter Blowup

provenance: imported · CWE: CWE-770

CAPEC-229: Serialized Data Parameter Blowup

MITRE CAPEC attack pattern

Status Draft
Typical severity High
Likelihood of attack High
Catalogue CAPEC 3.9 (2023-01-24)

Description

This attack exploits certain serialized data parsers (e.g., XML, YAML, etc.) which manage data in an inefficient manner. The attacker crafts an serialized data file with multiple configuration parameters in the same dataset. In a vulnerable parser, this results in a denial of service condition where CPU resources are exhausted because of the parsing algorithm. The weakness being exploited is tied to parser implementation and not language specific.

Where this sits in the chain

A finding maps to a weakness (CWE), a weakness is exploited by an attack pattern (CAPEC), and an attack pattern shows up in ATT&CK as observed adversary behaviour. This page is the middle hop.

Weaknesses exploited: CWE-770

Prerequisites

  • The server accepts input in the form of serialized data and is using a parser with a runtime longer than O(n) for the insertion of a new configuration parameter in the data container.(examples are .NET framework 1.0 and 1.1)

Mitigations

  • This attack may be mitigated completely by using a parser that is not using a vulnerable container.
  • Mitigation may limit the number of configuration parameters per dataset.

Source