Unrestricted Upload of File with Dangerous Type Affecting php-laravel-framework package, versions <6.20.14+dfsg-3


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    2.86% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIANUNSTABLE-PHPLARAVELFRAMEWORK-1921209
  • published 16 Nov 2021
  • disclosed 14 Nov 2021

How to fix?

Upgrade Debian:unstable php-laravel-framework to version 6.20.14+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-laravel-framework package and not the php-laravel-framework package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. NOTE: this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.

CVSS Scores

version 3.1
Expand this section

NVD

Recommended
9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High