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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-3824— Buffer overflow and overread in phar_dir_read()

Quick assessment

Affected
PHP Group PHP
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHP是一种在服务器端执行的脚本语言。 PHP存在安全漏洞,该漏洞源于函数phar_dir_read()存在缓冲区溢出漏洞,该漏洞会导致内存损坏或远程代码执行(RCE)。受影响的产品和版本:PHP 8.0.30之前的8.0版本,8.1.22之前的8.1版本,8.2.8之前的8.2版本。

CVSS 9.4 · Critical EPSS 21.79% · P98

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-3824

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
Buffer overflow and overread in phar_dir_read()
Source: CVE Program / CVE List V5
Vulnerability Description
In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
内存缓冲区边界内操作的限制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
PHP 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHP是一种在服务器端执行的脚本语言。 PHP存在安全漏洞,该漏洞源于函数phar_dir_read()存在缓冲区溢出漏洞,该漏洞会导致内存损坏或远程代码执行(RCE)。受影响的产品和版本:PHP 8.0.30之前的8.0版本,8.1.22之前的8.1版本,8.2.8之前的8.2版本。
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.0.* ~ 8.0.30 -

II. Public POCs for CVE-2023-3824

# POC Description Source Link Shenlong Link
1 None https://github.com/NewLockBit/CVE-2023-3824-PHP-to-RCE-National-Crime-AgencyLEAK POC Details
2 Research of CVE-2023-3824 (NCA - Lockbit) https://github.com/NewLockBit/Research-of-CVE-2023-3824-NCA-Lockbit POC Details
3 None https://github.com/NewLockBit/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
4 Vulnerability in PHP Phar files, due to buffer overflow, arises from insufficient length checks on file names within the Phar archive. Malicious actors can craft Phar files with long file names, leading to buffer overflow and potential execution of malicious code or data leakage. This vulnerability can be exploited for code execution CVE-2023-3824 https://github.com/jhonnybonny/CVE-2023-3824 POC Details
5 None https://github.com/StayBeautiful-collab/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
6 None https://github.com/Nuki2u/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
7 CVE-2023-3824 https://github.com/m1sn0w/CVE-2023-3824 POC Details
8 None https://github.com/o2vi1te/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
9 None https://github.com/Nfttkcauzy/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
10 None https://github.com/Starla2u/CVE-2023-3824-PHP-to-RCE-LockBit-LEAK POC Details
11 CVE-2023-3824 PoC https://github.com/baesh3r/poc-CVE-2023-3824 POC Details
12 PoC CVE 2023-3824 https://github.com/fr33c0d3/poc-cve-2023-3824 POC Details
13 poc-cve-2023-3824 https://github.com/bluefish3r/poc-cve POC Details
14 In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE. https://github.com/exploitdevelop/CVE-2023-3824 POC Details
15 None https://github.com/dadosneurais/cve-2023-3824 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-3824

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

Vendor Advisories for CVE-2023-3824 (2)

Mailing List Discussions for CVE-2023-3824 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2023-3824

No comments yet


Leave a comment