CVE-2020-7062(canonical / debian_linux)

LOWCVSS 7.5 · HIGH

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.

1.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-476

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

NONE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • debian_linux
  • leap
  • php
  • ubuntu_linux

Affected systems

Products
debian_linuxleapphpubuntu_linux

9 versions affected across 4 products

Deep dive

Full discourse1 post
  • Mr. Nice Try@MrNiceTry

    i'm turning off one specific php setting that was added in 5.4 and is on by default. 2012: PHP 5.4 adds it, on by default 2018: a CTF trick turns it into code execution, with one small file-include bug 2020: CVE-2020-7062, a crash 2021: a public exploit, reverse shell included PHP's own manual says to consider disabling it. ‼️

    10000559
    257 followersView on X
CPE platform detail10 entries

10 of 10 entries

PartVendorProductVersionTarget SWTarget HW
OScanonicalubuntu_linux12.04--
OScanonicalubuntu_linux14.04--
OScanonicalubuntu_linux16.04--
OScanonicalubuntu_linux18.04--
OScanonicalubuntu_linux19.10--
OSdebiandebian_linux10.0--
OSdebiandebian_linux8.0--
OSdebiandebian_linux9.0--
OSopensuseleap15.1--
Appphpphp---

Explore more