How to detect Kubernetes vulnerability CVE-2019-11246 using Falco
Blog post from Sysdig
A recent blog post discusses the Kubernetes vulnerability CVE-2019-11246, a high-severity issue affecting the command-line tool kubectl, which could allow a directory traversal attack leading to malicious file creation or replacement on a user's system. This vulnerability arose from an incomplete fix of a previous issue and has been highlighted by a CNCF-sponsored security audit. The blog explains how to use Falco, an open-source container security monitor, to detect this exploit by generating an event stream from system calls and applying rules to identify abnormal activities. Falco can detect both the replacement of the /bin/tar file with a malicious binary and the execution of a vulnerable kubectl cp command, thereby providing detailed alerts that help identify suspicious activity in Kubernetes environments. The post emphasizes the importance of keeping Kubernetes applications and infrastructure up-to-date and having a robust security solution for cloud-native environments.