{"answers":{"affected":"4 open source packages ship an affected version, including laravel/framework. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-15133 in the wild since at least 16 Jan 2024.","fix":"Upgrade laravel/framework to 5.6.30 or later. US federal agencies must fix it by 6 Feb 2024.","what":"CVE-2018-15133 is a high-severity unsafe deserialization vulnerability in n/a, published on 9 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-15133 and fix it if it is affected.\n\nWhat it is: CVE-2018-15133 is a high-severity unsafe deserialization vulnerability in n/a, published on 9 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-15133 in the wild since at least 16 Jan 2024.\n\nAffected packages and fixed versions:\n- laravel/framework (Packagist): affected all versions up to 5.5.40; no fix listed\n- laravel/framework (Packagist): affected all versions up to 5.5.40; no fix listed\n- laravel/framework (Packagist): affected from 5.6.0; fixed in 5.6.30\n- laravel/framework (Packagist): affected from 5.6.0; fixed in 5.6.30\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-2018-15133/ (Markdown: https://insights.sbomify.com/CVE-2018-15133/index.md)","id":"CVE-2018-15133","markdown":"https://insights.sbomify.com/CVE-2018-15133/index.md","name":"CVE-2018-15133","record":{"aliases":["GHSA-qvqm-h22r-4cp9"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel Framework","requires_auth":"none","summary":"Remote code execution via unsafe deserialization of X-XSRF-TOKEN, requiring prior knowledge of the application key.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"laravel","vendor":"laravel"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unserialize call on a potentially untrusted X-XSRF-TOKEN value. This involves the decrypt method in Illuminate/Encryption/Encrypter.php and PendingBroadcast in gadgetchains/Laravel/RCE/3/chain.php in phpggc. The attacker must know the application key, which normally would never occur, but could happen if the attacker previously had privileged access or successfully accomplished a previous attack.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2018-08-07","github_poc":14,"max_poc_stars":258,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-08-14T18:51:50Z","kind":"github_poc","ref":"https://github.com/kozmic/laravel-poc-CVE-2018-15133","stars":258,"title":"PoC for CVE-2018-15133 (Laravel unserialize vulnerability)"},{"date":"2020-11-13T16:33:52Z","kind":"github_poc","ref":"https://github.com/aljavier/exploit_laravel_cve-2018-15133","stars":57,"title":"Exploit for Laravel Remote Code Execution with API_KEY (CVE-2018-15133)"},{"date":"2020-12-21T22:02:08Z","kind":"github_poc","ref":"https://github.com/pwnedshell/Larascript","stars":35,"title":"Laravel RCE exploit. CVE-2018-15133"},{"date":"2020-04-05T04:54:40Z","kind":"github_poc","ref":"https://github.com/Prabesh01/Laravel-PHP-Unit-RCE-Auto-shell-uploader","stars":6,"title":"Laravel-PHP-Unit-RCE (CVE-2018-15133) Auto Exploiter and Shell Uploader"},{"date":"2021-01-03T08:06:46Z","kind":"github_poc","ref":"https://github.com/AzhariKun/CVE-2018-15133","stars":3,"title":null},{"date":"2025-04-27T09:32:50Z","kind":"github_poc","ref":"https://github.com/yeahhbean/Laravel-CVE-2018-15133","stars":2,"title":null},{"date":"2018-08-07","kind":"metasploit","ref":"exploit/unix/http/laravel_token_unserialize_exec","stars":null,"title":"PHP Laravel Framework token Unserialize Remote Command Execution"},{"date":"2019-07-16","kind":"exploitdb","ref":"47129","stars":null,"title":"PHP Laravel Framework 5.5.40 / 5.6.x \u003c 5.6.30 - token Unserialize Remote Command Execution (Metasploit)"}],"tier":"exploited"},"has_fix":true,"headline":"Laravel Deserialization of Untrusted Data","id":"CVE-2018-15133","indexable":true,"kev":{"dateAdded":"2024-01-16","dueDate":"2024-02-06","knownRansomwareCampaignUse":"Unknown","product":"Laravel Framework","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Laravel","vulnerabilityName":"Laravel Deserialization of Untrusted Data Vulnerability"},"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2018"},"n_packages":4,"n_references":2,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2018-15136"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["5.5.40"],"package":"laravel/framework","purl":null,"source":"GHSA-qvqm-h22r-4cp9"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["5.5.40"],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-qvqm-h22r-4cp9"},{"ecosystem":"Packagist","fixed":["5.6.30"],"introduced":["5.6.0"],"last_affected":[],"package":"laravel/framework","purl":null,"source":"GHSA-qvqm-h22r-4cp9"},{"ecosystem":"Packagist","fixed":["5.6.30"],"introduced":["5.6.0"],"last_affected":[],"package":"laravel/framework","purl":"pkg:composer/laravel/framework","source":"GHSA-qvqm-h22r-4cp9"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2018-15132"},"products":["n/a"],"published":"2018-08-09","related":[{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2021-28254","kev_date_added":null,"published":"2023-04-18"},{"cvss_score":7.5,"headline":"Guard bypass in Eloquent models affecting Laravel illuminate database component","id":"CVE-2020-24940","kev_date_added":null,"published":"2020-09-04"},{"cvss_score":7.5,"headline":"Improper Input Validation in Laravel","id":"CVE-2020-24941","kev_date_added":null,"published":"2020-09-04"},{"cvss_score":7.5,"headline":"Information disclosure in n/a","id":"CVE-2017-16894","kev_date_added":null,"published":"2017-11-20"},{"cvss_score":7.2,"headline":"Query Binding Exploitation in Laravel","id":"CVE-2021-21263","kev_date_added":null,"published":"2021-01-19"},{"cvss_score":6.1,"headline":"Laravel does not properly constrain the host portion of a password-reset URL","id":"CVE-2017-9303","kev_date_added":null,"published":"2017-05-29"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote code execution via unsafe deserialization of X-XSRF-TOKEN, requiring prior knowledge of the application key.","url":"https://insights.sbomify.com/CVE-2018-15133/"}