Vulnerability

CVE-2024-55555

highCVSS 3.1 8.8Published 7 Jan 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /invoiceninja/invoiceninja/commit/d9302021472c3e7e23bac8c3d…
  • www.synacktiv.com /advisories/invoiceninja-unauthenticated-remote-command-exe…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning