8.1high
In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an a…
- Severity
- 8.1high CVSS:3.1 by NVD
- Exploit likelihood
- 1.80% (higher than 79% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| invoiceninja invoice_ninja | before 4.4.0 | NVD |
All scores
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
En Invoice Ninja versiones anteriores a 4.4.0, se presenta una llamada no segura a la función unserialize() en el archivo app/Ninja/Repositories/AccountRepository.php que puede permitir a un atacante deserializar clases PHP arbitrarias. En determinados contextos, esto puede resultar en una ejecución de código remota. La entrada del atacante debe estar alojada en http://www.geoplugin.net (texto sin cifrar HTTP), y por lo tanto un ataque con éxito requiere una suplantación de ese sitio u obtener el control del mismo
References
| https://github.com/invoiceninja/invoiceninja/issues/5909 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-33898 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-33898 changed 2026-06-17 | Public domain |