CVE-2024-55555
HIGHInvoice Ninja < 5.10.43 - Unauthenticated Remote Code Execution via Route Hash Deserialization
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2024-55555.
PoCs published by Yucaerin, including Metasploit module exploits/linux/http/invoiceninja_unauth_rce_cve_2024_55555.
AI-analyzed exploit summary This repository contains a mass scanner for CVE-2024-55555, an unauthenticated RCE vulnerability in Invoice Ninja due to weak Laravel APP_KEY usage. It automates the detection of vulnerable sites by brute-forcing Laravel-encrypted cookies using laravel-crypto-killer.
Description
Invoice Ninja before 5.10.43 allows remote code execution from a pre-authenticated route when an attacker knows the APP_KEY. This is exacerbated by .env files, available from the product's repository, that have default APP_KEY values. The route/{hash} route defined in the invoiceninja/routes/client.php file can be accessed without authentication. The parameter {hash} is passed to the function decrypt that expects a Laravel ciphered value containing a serialized object. (Furthermore, Laravel contains several gadget chains usable to trigger remote command execution from arbitrary deserialization.) Therefore, an attacker in possession of the APP_KEY is able to fully control a string passed to an unserialize function.
Exploits (2)
This repository contains a mass scanner for CVE-2024-55555, an unauthenticated RCE vulnerability in Invoice Ninja due to weak Laravel APP_KEY usage. It automates the detection of vulnerable sites by brute-forcing Laravel-encrypted cookies using laravel-crypto-killer.
This Metasploit module exploits an unauthenticated PHP deserialization vulnerability in Invoice Ninja (CVE-2024-55555) by leveraging a known Laravel APP_KEY to execute arbitrary commands via a crafted payload.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H