-
Notifications
You must be signed in to change notification settings - Fork 15
ES2602-3885d54d - Application State Type Corruption (ASTC) - Persistent Data Type Assumptions in PHP Applications #181
Description
Submission File: ES2602-3885d54d-new-application-state-type-corruption.txt
ID: ES2602-3885d54d
SUBMISSION DATE: 2026-02-16 14:18:20
NAME: Application State Type Corruption (ASTC) - Persistent Data Type Assumptions in PHP Applications
DESCRIPTION:
This weakness occurs when an application assumes that persisted data
structures will always conform to an expected type (e.g., objects) without
validating the retrieved state. In some cases, the application itself may
unintentionally mutate or convert the stored data into a different type
(e.g., arrays instead of objects) during normal processing. Subsequent code
that accesses properties or methods assumes the original type, leading to
persistent fatal errors across multiple modules. This can result in
authentication failures, system crashes, or other systemic failures.
Variations include any situation where unsafe assumptions about type
integrity are made across execution paths and persistent state mutation is
possible.