Description
Akaunting before 2.1.31 contains an OS command injection vulnerability in the module installation and update flow where the alias parameter is passed unvalidated to shell command execution. Authenticated users with admin panel access can inject shell metacharacters into the alias parameter to execute arbitrary commands on the server.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| akaunting | akaunting | < 2.1.31 | 2.1.31 |
References
- Patch Commit patch
- akaunting 2.1.31 Release Notes release-notes
- https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php#L37-L39 technical-description
- https://github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php#L45-L47 technical-description
- https://github.com/akaunting/akaunting product
- VulnCheck Advisory: Akaunting before 2.1.31 OS Command Injection via app alias third-party-advisory