Interview Prep/DevSecOps/Foundations, Threat Modeling and OWASP

What counts as a security misconfiguration? Give cloud and Kubernetes examples.

BeginnerConceptFoundations, Threat Modeling and OWASP
Answer

Any insecure setting, default or missing hardening step. Examples: public S3 bucket, security group open to 0.0.0.0/0 on port 22, default admin credentials, verbose error pages, a Kubernetes pod running privileged, automountServiceAccountToken left on, an unauthenticated kubelet or Redis exposed.

It is the most common real-world cause of breaches, which is why IaC scanning, CIS benchmarks and policy as code exist.

All DevSecOps questions Roadmap: Security in the pipeline

More on Foundations, Threat Modeling and OWASP