Exploit database

Vulnerability

CVE-2024-55555

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

2 sources
Invoice Ninja unauthenticated PHP Deserialization Vulnerability
MSF-linux--http--invoiceninja_unauth_rce_cve_2024_55555MetasploitLinux,PHP,Unix / remotePreferred

Invoice Ninja is a free invoicing software for small businesses, based on the PHP framework Laravel. A Remote Code Execution vulnerability in Invoice Ninja (>= 5.8.22 <= 5.10.10) allows remote unauthenticated attackers to conduct PHP deserialization attacks via endpoint `/route/<hash>` which accepts a Laravel ciphered value which is unsafe unserialized, if an attacker has access to the APP_KEY. As it allows remote code execution, adversaries could exploit this flaw to execute arbitrary commands, potentially resulting in complete system compromise, data exfiltration, or unauthorized access to sensitive information.

2024-12-13invoiceninja_unauth_rce_cve_2024_55555.rb
yucaerin/cve-2024-55555
GH-b68240eb0bd1ef91a66687e9433900a3GitHubUnofficial GitHub source

Laravel Crypto Killer Mass Scanner (CVE-2024-55555)

2025-07-312 files · 2 stars