CVE-2024-24752
PHP vulnerability analysis and mitigation

Overview

CVE-2024-24752 is a vulnerability in Bref, a PHP serverless framework for AWS Lambda. The vulnerability was discovered and disclosed on February 1, 2024, affecting Bref versions prior to 2.1.13. The issue specifically impacts the Event-Driven Function runtime when using the RequestHandlerInterface handler (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the file handling mechanism of Bref's Event-Driven Function runtime. When processing MultiPart requests containing files, the system creates temporary files in /tmp with random filenames prefixed with 'bref_upload_'. The critical flaw is that these temporary files are not deleted after request processing. The vulnerability has been assigned a CVSS v3.1 score of 6.5 (MEDIUM) (NVD).

Impact

An attacker could exploit this vulnerability to fill the Lambda instance disk by performing multiple MultiPart requests containing files. Given that Lambda instances have a default disk size of 512MB and requests are limited to 6MB, approximately 100 requests could be sufficient to fill the disk. This could lead to denial of service conditions for the affected Lambda function (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Bref version 2.1.13. The fix involves implementing proper cleanup of temporary files after request processing and response generation. Users are advised to upgrade to this version or later to address the vulnerability (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-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 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