Vulnerability in Laravel Framework Allows Unsafe PHP File Uploads
CVE-2021-43617

9.8CRITICAL

Key Information:

Vendor

Laravel

Status
Vendor
CVE Published:
14 November 2021

Badges

👾 Exploit Exists🟡 Public PoC🟣 EPSS 47%

What is CVE-2021-43617?

The Laravel Framework prior to version 8.70.2 fails to adequately prevent the upload of executable PHP files, particularly .phar files. This oversight occurs because the ValidatesAttributes.php component does not enforce the necessary checks against .phar file types, which can be processed as application/x-httpd-php by Debian-based systems. As a result, malicious users could potentially upload harmful PHP scripts, leading to significant security risks for applications built on the Laravel Framework.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

47% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2021-43617 : Vulnerability in Laravel Framework Allows Unsafe PHP File Uploads