Vulnerability Report

CVE-2021-3007

RCE

Title: Laminas Project laminas-http deserialization vulnerability

RCE

Proof Of Concept

PoC Available for CVE-2021-3007

CWE Category CWE-502
Published Date Jan 04, 2021
Modified Date Nov 21, 2024
Exploit Status Available
Score 9.8 CVSS v3.1
Exploit Probability (EPSS)
92.18%

Vulnerability Summary

CVE-2021-3007: Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can lead to remote code execution if the content is controllable, related to the __destruct method of the Zend\Http\Response\Stream class in Stream.php. NOTE: Zend Framework is no longer supported by the maintainer. NOTE: the laminas-http vendor considers this a "vulnerability in the PHP language itself" but has added certain type checking as a way to prevent exploitation in (unrecommended) use cases where attacker-supplied data can be deserialized

CVSS v3.1
Source Entity [email protected]
Severity CRITICAL
9.8
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Source Entity [email protected]
Severity HIGH
7.5
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:N/AC:L/Au:N/C:P/I:P/A:P

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2021-3007 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/Vulnmachines/ZF3_CVE-2021-3007
View Code
GitHub https://github.com/KrE80r/cve-2021-3007-vulnerable
View Code
GitHub https://github.com/yunus-a1i/CVE-2021-3007-docker-poc
View Code
MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Stack

No specific products linked.