CVE-2024-24754
PHP vulnerability analysis and mitigation

Overview

A body parsing inconsistency vulnerability was discovered in Bref (versions <2.1.13) affecting the Event-Driven Function runtime when handling RequestHandlerInterface. The vulnerability, identified as CVE-2024-24754, was disclosed on February 1, 2024. The issue occurs during the conversion process of Lambda events to PSR7 objects, specifically when parsing multipart form data with keys ending in an open square bracket ([) (GitHub Advisory).

Technical details

The vulnerability exists in the parseKeyAndInsertValueInArray method within bref/src/Event/Http/Psr7Bridge.php. When processing multipart form data, the conversion process produces different output compared to plain PHP for keys ending with an open square bracket ([). For example, a form field named 'key0[key1][key2][' with value 'value' would be parsed differently: in plain PHP it would create a nested array structure, while in Bref it would create a malformed array structure with the entire key as a single index (GitHub Advisory).

Impact

The inconsistency in body parsing between Bref and plain PHP implementations could lead to vulnerabilities and undefined behaviors depending on the application logic. The severity of this vulnerability is rated as Low (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.1.13 of Bref. The recommended remediation is to upgrade to this version or later. The fix involves using PHP's parse_str function to parse body parameters, ensuring consistency with plain PHP behavior (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management