CAPEC 详情
名称 Oversized Serialized Data Payloads
攻击可能性 典型严重性
Medium High
摘要 An adversary injects oversized serialized data payloads into a parser during data processing to produce adverse effects upon the parser such as exhausting system resources and arbitrary code execution.
前置条件 An application uses an parser for serialized data to perform transformation on user-controllable data. An application does not perform sufficient validation to ensure that user-controllable data is safe for a data parser.
执行流程
步骤 阶段 描述 技术手法
1 Explore An adversary determines the input data stream that is being processed by an serialized data parser on the victim's side.
2 Experiment An adversary crafts input data that may have an adverse effect on the operation of the data parser when the data is parsed on the victim's system.
解决方案 Carefully validate and sanitize all user-controllable serialized data prior to passing it to the parser routine. Ensure that the resultant data is safe to pass to the parser. Perform validation on canonical data. Pick a robust implementation of the serialized data parser. Validate data against a valid schema or DTD prior to parsing.
关联弱点
CWE 编号 描述
CWE-20 Improper Input Validation
CWE-112 Missing XML Validation
CWE-674 Uncontrolled Recursion
CWE-770 Allocation of Resources Without Limits or Throttling
关联 CAPEC
CAPEC 编号 描述
CAPEC-130 An adversary causes the target to allocate excessive resources to servicing the attackers' request, thereby reducing the resources available for legitimate services and degrading or denying services. Usually, this attack focuses on memory allocation, but any finite resource on the target could be the attacked, including bandwidth, processing cycles, or other resources. This attack does not attempt to force this allocation through a large number of requests (that would be Resource Depletion through Flooding) but instead uses one or a small number of requests that are carefully formatted to force the target to allocate excessive resources to service this request(s). Often this attack takes advantage of a bug in the target to cause the target to allocate resources vastly beyond what would be needed for a normal request.