Arbitrary PHP Class Deserialization and Remote Code Execution in Invoice Ninja before 4.4.0

Arbitrary PHP Class Deserialization and Remote Code Execution in Invoice Ninja before 4.4.0

CVE-2021-33898 · HIGH Severity

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

In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.

Learn more about our Web Application Penetration Testing UK.