CVE-2023-3824
Apache PHP Phar Stack Buffer Overflow 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.
INFO
Published Date :
Aug. 11, 2023, 6:15 a.m.
Last Modified :
Nov. 21, 2024, 8:18 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-3824 has a 8 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2023-3824
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-3824
.
URL | Resource |
---|---|
https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv | Exploit Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html | Mailing List |
https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ | Mailing List |
https://security.netapp.com/advisory/ntap-20230825-0001/ | Third Party Advisory |
https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv | Exploit Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html | Mailing List |
https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ | Mailing List |
https://security.netapp.com/advisory/ntap-20230825-0001/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
CVE-2023-3824 PoC
cve exploits phar php-vulnerabilities poc rce reverse-shell cve-2023-3824 poc-cve-2023-3824
Shell PHP
CVE-2023-3824
PHP
FBI hacked Lockbit use this exploit.
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
None
Python
Research of CVE-2023-3824 (NCA - Lockbit)
None
Python
A message from the Hackers group Lockbit to the FBI after they were hacked due to a public PHP CVE vulnerability and started a countdown for the realease of classified leaked information | Lockbit 4.0
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-3824
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-3824
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ Added Reference https://security.netapp.com/advisory/ntap-20230825-0001/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Oct. 27, 2023
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html Mailing List Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ Mailing List Changed Reference Type https://security.netapp.com/advisory/ntap-20230825-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20230825-0001/ Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.30 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.22 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.8 OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.30 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.22 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.9 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Sep. 05, 2023
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 25, 2023
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230825-0001/ [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 21, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv No Types Assigned https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv Exploit, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ Third Party Advisory Added CWE NIST CWE-119 Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.0.30 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.22 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.8 -
CVE Modified by [email protected]
Aug. 12, 2023
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-3824
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-3824
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.07 }} -0.06%
score
0.32364
percentile