CVE-2024-55555

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.
Configurations

No configuration.

History

07 Jan 2025, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
CWE CWE-502

07 Jan 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-07 17:15

Updated : 2025-01-07 20:15


NVD link : CVE-2024-55555

Mitre link : CVE-2024-55555

CVE.ORG link : CVE-2024-55555


JSON object : View

Products Affected

No product.

CWE
CWE-502

Deserialization of Untrusted Data