Resource exhaustion in Flightphp Core
CVE-2014-125127
The mikecao/flight PHP framework in versions prior to v1.2 is vulnerable to Denial of Service (DoS) attacks due to eager loading of request bodies in the Request class constructor. The framework automatically reads the entire request body on every HTTP request, regardless of whether the application needs it. An attacker can exploit this by sending requests with large payloads, causing excessive memory consumption and potentially exhausting available server memory, leading to application crashes or service unavailability. The vulnerability was fixed in v1.2 by implementing lazy loading of request bodies.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 41.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Flightphp Core — versions v1.0
- Flightphp Flight
Weakness classification (CWE)
References
- github.com/mikecao/flight/pull/125 (Issue Tracking)
- github.com/mikecao/flight/commit/da40e03eb4a39745107912dffe926a8fce0d38dc (Patch)
- github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2014/CVE-2014-… (Exploit, Third Party Advisory)