CVE-2024-55555 Deserialization in n/a
Remote attackers with the APP_KEY can achieve code execution via unsafe deserialization in Invoice Ninja, requiring non-default configuration or leaked keys.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-55555?
CVE-2024-55555 is a high-severity unsafe deserialization vulnerability in n/a, published on 7 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2024-55555?
How do I fix CVE-2024-55555?
No fix has been published for CVE-2024-55555 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-55555 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-55555 exists.
Public exploit code: 1 Metasploit module and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-39fw-qmf8-vr6v.