CVE-2023-24249: Arbitrary File Upload Vulnerability in laravel-admin

encore/laravel-admin Updated 02 Oct 2025

Summary

27/02/2023
No i
High
7.2

CVE-2023-24249: laravel-admin has Arbitrary File Upload vulnerability. Affects encore/laravel-admin versions < 1.8.19. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

laravel-admin is a package available on Packagist that provides a web-based interface for managing Laravel applications. It offers various features such as CRUD operations, data filtering, and user management. However, version 1.8.19 of laravel-admin is vulnerable to an arbitrary file upload vulnerability.

Vulnerability Detail

The arbitrary file upload vulnerability in laravel-admin v1.8.19 allows attackers to execute arbitrary code by uploading a crafted PHP file. This can lead to remote code execution and potential compromise of the affected system. The vulnerability originates from insufficient input validation and security checks during file uploads.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, it is advised to disable file uploads in the affected version of laravel-admin until the necessary patches can be applied. This can be done by modifying the application's configuration to disallow file uploads or by implementing additional server-side validation for uploaded files.

Conclusion

The arbitrary file upload vulnerability in laravel-admin v1.8.19 poses a significant risk to the security of affected systems. It is crucial to upgrade to a patched version or apply the recommended workarounds to mitigate the risk of exploitation. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for encore/laravel-admin →

Share this vulnerability

FAQ

This vulnerability allows attackers to upload and execute arbitrary PHP files, potentially leading to remote code execution and compromise of the affected system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. It analyzes your composer.lock file and provides real-time alerts for open-source vulnerabilities.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is important to apply the necessary patches to mitigate the risk of exploitation.

Yes, the maintainers of laravel-admin have released a fix for this vulnerability in a subsequent version. It is recommended to upgrade to the latest version to address the issue.

If you are unable to update laravel-admin immediately, you can implement a temporary workaround by disabling file uploads or implementing additional server-side validation for uploaded files. However, it is strongly advised to apply the necessary patches as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for encore/laravel-admin.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback