{"answers":{"affected":"2 open source packages ship an affected version, including encore/laravel-admin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-24249 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-24249 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-24249 is a high-severity vulnerability in n/a, published on 27 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-24249 and fix it if it is affected.\n\nWhat it is: CVE-2023-24249 is a high-severity vulnerability in n/a, published on 27 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-24249 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- encore/laravel-admin (Packagist): affected all versions up to 1.8.19; no fix listed\n- encore/laravel-admin (Packagist): affected all versions up to 1.8.19; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-24249/ (Markdown: https://insights.sbomify.com/CVE-2023-24249/index.md)","id":"CVE-2023-24249","markdown":"https://insights.sbomify.com/CVE-2023-24249/index.md","name":"CVE-2023-24249","record":{"aliases":["GHSA-g857-47pm-3r32"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel admin panel","requires_auth":"high_privilege","summary":"Attackers can execute arbitrary code by uploading a crafted PHP file to the Laravel admin panel.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"laravel-admin","vendor":"laravel-admin"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"An arbitrary file upload vulnerability in laravel-admin v1.8.19 allows attackers to execute arbitrary code via a crafted PHP file.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2024-08-07","github_poc":2,"max_poc_stars":9,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-08-07T04:36:44Z","kind":"github_poc","ref":"https://github.com/IDUZZEL/CVE-2023-24249-Exploit","stars":9,"title":"Exploit script for CVE-2023-24249 - a vulnerability allowing remote code execution via file upload and command injection."},{"date":"2025-06-21T17:02:39Z","kind":"github_poc","ref":"https://github.com/ldb33/CVE-2023-24249-PoC","stars":0,"title":"Proof of concept for HTB easy machine Usage"}],"tier":"poc_unverified"},"has_fix":false,"headline":"laravel-admin has Arbitrary File Upload vulnerability","id":"CVE-2023-24249","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2023-24251"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.8.19"],"package":"encore/laravel-admin","purl":null,"source":"GHSA-g857-47pm-3r32"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["1.8.19"],"package":"encore/laravel-admin","purl":"pkg:composer/encore/laravel-admin","source":"GHSA-g857-47pm-3r32"}],"prev":{"headline":"Server-side request forgery in n/a","id":"CVE-2023-24243"},"products":["n/a"],"published":"2023-02-27","related":[{"cvss_score":4.8,"headline":"z-song laravel-admin XSS via the Slug or Name on the Roles screen","id":"CVE-2019-17433","kev_date_added":null,"published":"2019-10-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-11","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by uploading a crafted PHP file to the Laravel admin panel.","url":"https://insights.sbomify.com/CVE-2023-24249/"}