RCE in Akaunting
CVE-2022-51019
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.018, 78.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/akaunting/akaunting/commit/a1792327347a56ea575240b58673b2ece44230da (patch)
- github.com/akaunting/akaunting/releases/tag/2.1.31 (release-notes)
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/InstallModule.php (technical-description)
- github.com/akaunting/akaunting/blob/2.1.30/app/Jobs/Install/FinishUpdate.php (technical-description)
- github.com/akaunting/akaunting (product)
- www.vulncheck.com/advisories/akaunting-before-2.1.31-os-command-injection-via-a… (third-party-advisory)