Vulnerability · Published Feb 15, 2023 · Assigned by mitre
CVE-2023-22855
Critical 9.8
In plain English
A critical-severity code injection in the affected software. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 14.8% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
Kardex Mlog MCC 5.7.12+0-a203c2a213-master allows remote code execution. It spawns a web interface listening on port 8088. A user-controllable path is handed to a path-concatenation method (Path.Combine from .NET) without proper sanitisation. This yields the possibility of including local files, as well as remote files on SMB shares. If one provides a file with the extension .t4, it is rendered with the .NET templating engine mono/t4, which can execute code.
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/patrickhener/CVE-2023-22855/blob/main/advisory/advisory.md
- 20230216 Remote Code Execution in Kardex MLOG mailing-list
- http://packetstormsecurity.com/files/171046/Kardex-Mlog-MCC-5.7.12-0-a203c2a213-master-File-Inclusion-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/171689/Kardex-Mlog-MCC-5.7.12-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/51239