Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-2757— PHP mb_encode_mimeheader runs endlessly for some inputs

Quick assessment

Affected
PHP Group PHP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是一种在服务器端执行的脚本语言。 PHP 8.3.*版本至8.3.5之前版本存在安全漏洞,该漏洞源于对于某些包含非空格字符后跟空格的长字符串的输入,函数 mb_encode_mimeheader会无限运行。

CVSS 7.5 · High EPSS 1.92% · P79

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-2757

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PHP mb_encode_mimeheader runs endlessly for some inputs
Source: CVE Program / CVE List V5
Vulnerability Description
In PHP 8.3.* before 8.3.5, function mb_encode_mimeheader() runs endlessly for some inputs that contain long strings of non-space characters followed by a space. This could lead to a potential DoS attack if a hostile user sends data to an application that uses this function.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
PHP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是一种在服务器端执行的脚本语言。 PHP 8.3.*版本至8.3.5之前版本存在安全漏洞,该漏洞源于对于某些包含非空格字符后跟空格的长字符串的输入,函数 mb_encode_mimeheader会无限运行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHP Group PHP 8.3.* ~ 8.3.5 -

II. Public POCs for CVE-2024-2757

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-2757

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-2757 (1)

Mailing List Discussions for CVE-2024-2757 (1)

Same Patch Batch · PHP Group · 2024-04-29 · 4 CVEs total

CVE-2024-1874 9.4 CRITICAL Command injection via array-ish $command parameter of proc_open()
CVE-2024-2756 6.5 MEDIUM __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
CVE-2024-3096 6.5 MEDIUM PHP function password_verify can erroneously return true when argument contains NUL

IV. Related Vulnerabilities

V. Comments for CVE-2024-2757

No comments yet


Leave a comment