8.8
HIGH
CVE-2020-7065
Apache PHP MB_Strtolower Heap-Based Buffer Overflow
Description

In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.

INFO

Published Date :

April 1, 2020, 4:15 a.m.

Last Modified :

Dec. 2, 2021, 10:09 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2020-7065 has a 2 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-2020-7065 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.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Php php
1 Tenable tenable.sc
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-2020-7065.

URL Resource
https://bugs.php.net/bug.php?id=79371 Exploit Issue Tracking Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20200403-0001/ Third Party Advisory
https://usn.ubuntu.com/4330-1/ Third Party Advisory
https://usn.ubuntu.com/4330-2/ Third Party Advisory
https://www.debian.org/security/2020/dsa-4719 Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html Patch Third Party Advisory
https://www.php.net/ChangeLog-7.php#7.4.4 Release Notes Vendor Advisory
https://www.tenable.com/security/tns-2021-14 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).

None

Updated: 4 months, 1 week ago
1 stars 1 fork 1 watcher
Born at : Jan. 29, 2024, 7:04 a.m. This repo has been linked 80 different CVEs too.

hackerone one million reports

bugbountytips vulnerability-research

Updated: 1 year, 4 months ago
3 stars 1 fork 1 watcher
Born at : Oct. 15, 2022, 6:48 p.m. This repo has been linked 80 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-7065 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-7065 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 [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 02, 2021

    Action Type Old Value New Value
    Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory
    Changed Reference Type https://www.tenable.com/security/tns-2021-14 No Types Assigned https://www.tenable.com/security/tns-2021-14 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* versions up to (excluding) 5.19.0
  • CVE Modified by [email protected]

    Oct. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 22, 2021

    Action Type Old Value New Value
    Added Reference https://www.tenable.com/security/tns-2021-14 [No Types Assigned]
  • Modified Analysis by [email protected]

    Oct. 01, 2020

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20200403-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20200403-0001/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4330-1/ No Types Assigned https://usn.ubuntu.com/4330-1/ Third Party Advisory
    Changed Reference Type https://usn.ubuntu.com/4330-2/ No Types Assigned https://usn.ubuntu.com/4330-2/ Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2020/dsa-4719 No Types Assigned https://www.debian.org/security/2020/dsa-4719 Third Party Advisory
    Changed Reference Type https://www.php.net/ChangeLog-7.php#7.4.4 No Types Assigned https://www.php.net/ChangeLog-7.php#7.4.4 Release Notes, Vendor Advisory
    Changed CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.34 OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.4
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
  • CVE Modified by [email protected]

    Jul. 08, 2020

    Action Type Old Value New Value
    Changed Description In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.34, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution. In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.
    Added Reference https://www.php.net/ChangeLog-7.php#7.4.4 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 08, 2020

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2020/dsa-4719 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 11, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4330-2/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 27, 2020

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/4330-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 03, 2020

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20200403-0001/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 01, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.php.net/bug.php?id=79371 No Types Assigned https://bugs.php.net/bug.php?id=79371 Exploit, Issue Tracking, Patch, Vendor Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.0 up to (excluding) 7.3.16 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.0 up to (excluding) 7.4.34
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-7065 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-2020-7065 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.50 }} 0.00%

score

0.72521

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability