CVE-2024-55556
CRITICAL NUCLEICrater Invoice - Unauthenticated Remote Code Execution via Laravel Session Cookie Deserialization
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-55556.
Includes Metasploit module exploits/linux/http/invoiceshelf_unauth_rce_cve_2024_55556.
A Nuclei detection template is also available.
AI-analyzed exploit summary This Metasploit module exploits an unauthenticated PHP deserialization vulnerability in InvoiceShelf (CVE-2024-55556) by leveraging Laravel's cookie-based session encryption. It allows remote code execution by crafting a malicious serialized payload and encrypting it with a known APP_KEY.
Description
A vulnerability in Crater Invoice allows an unauthenticated attacker with knowledge of the APP_KEY to achieve remote command execution on the server by manipulating the laravel_session cookie, exploiting arbitrary deserialization through the encrypted session data. The exploitation vector of this vulnerability relies on an attacker obtaining Laravel's secret APP_KEY, which would allow them to decrypt and manipulate session cookies (laravel_session) containing serialized data. By altering this data and re-encrypting it with the APP_KEY, the attacker could trigger arbitrary deserialization on the server, potentially leading to remote command execution (RCE). The vulnerability is primarily exploited by accessing an exposed cookie and manipulating it using the secret key to gain malicious access to the server.
Exploits (1)
This Metasploit module exploits an unauthenticated PHP deserialization vulnerability in InvoiceShelf (CVE-2024-55556) by leveraging Laravel's cookie-based session encryption. It allows remote code execution by crafting a malicious serialized payload and encrypting it with a known APP_KEY.
Nuclei Templates (1)
http.title:"InvoiceShelf"
title="InvoiceShelf"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H