漏洞描述
Klog Server 2.4.1 and prior is susceptible to an unauthenticated command injection vulnerability. The `authenticate.php` file uses the `user` HTTP POST parameter in a call to the `shell_exec()` PHP function without appropriate input validation, allowing arbitrary command execution as the apache user. The sudo configuration permits the Apache user to execute any command as root without providing a password, resulting in privileged command execution as root. Originated from Metasploit module, copyright (c) space-r7.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
docs.unsafe-inline.comhttps://docs.unsafe-inline.com/0day/klog-server-unauthentication-command-injection↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2020-35729↗github.comhttps://github.com/mustgundogdu/Research/blob/main/KLOG_SERVER/README.md↗packetstormsecurity.comhttp://packetstormsecurity.com/files/160798/Klog-Server-2.4.1-Command-Injection.html↗packetstormsecurity.comhttp://packetstormsecurity.com/files/161123/Klog-Server-2.4.1-Command-Injection.html↗packetstormsecurity.comhttp://packetstormsecurity.com/files/161410/Klog-Server-2.4.1-Command-Injection.html↗