Specific capabilities added

Property
Languageterraform
Severitymedium
Vulnerability Typemisconfiguration

Description

The configuration adds Linux capabilities to containers beyond the default set, violating Kubernetes Pod Security Standards. Granting extra capabilities can expose the container to elevated privileges and increase the attack surface.

Impact

Attackers could exploit the additional capabilities to perform unauthorized actions within the container, potentially leading to privilege escalation, lateral movement, or compromise of the host system and other resources in the Kubernetes cluster.

SQS queue should be encrypted with a CMK.

Property
Languageterraform
Severityhigh
Servicesqs
ProviderAWS
Vulnerability Typemisconfiguration

Description

The SQS queue is encrypted using the default AWS managed KMS key instead of a customer-managed key, limiting fine-grained access controls and key management. This configuration reduces the ability to restrict or audit access to the queue’s encrypted data.

Impact

If compromised, attackers could potentially access the SQS queue’s messages due to weaker key management and broader access to default keys. This increases the risk of unauthorized data exposure and limits the ability to enforce strict security policies or respond to breaches.

SSH access should not be accessible from the Internet, should be blocked on port 22

Property
Languageterraform
Severitycritical
Servicenetwork
ProviderAzure
Vulnerability Typemisconfiguration

Description

The network security group allows inbound SSH (port 22) connections from any IP address, exposing SSH access to the entire internet. This configuration makes remote server management interfaces publicly accessible and highly susceptible to unauthorized access attempts.

Impact

Unrestricted internet access to SSH can enable attackers to attempt brute-force attacks, exploit vulnerabilities, or gain unauthorized control over cloud resources. This may lead to data breaches, service disruption, or further compromise of the organization’s Azure environment.

SSH Keys are the preferred way to connect to your droplet, no keys are supplied

Property
Languageterraform
Severityhigh
Servicecompute
ProviderDigitalOcean
Vulnerability Typeomission

Description

The configuration allows creation of DigitalOcean droplets without specifying SSH keys, defaulting to less secure password-based authentication. This increases the risk of unauthorized access due to weaker credentials.

Impact

Attackers may more easily compromise droplets via brute-force or stolen passwords, leading to potential server takeover, data loss, or use of the server for malicious activities.

Resolution

Use ssh keys for login

SSL connections to a SQL database instance should be enforced.

Property
Languageterraform
Severityhigh
Servicesql
ProviderGoogle
Vulnerability Typeomission

Description

The SQL database instance is configured to allow unencrypted connections, meaning data sent between clients and the database can travel in plaintext. This exposes sensitive information to interception if network traffic is captured.

Impact

Without enforced SSL, attackers who intercept network traffic could read credentials, queries, or sensitive data transmitted to and from the database, leading to data leaks, account compromise, or broader breaches within the application environment.

SSL policies should enforce secure versions of TLS

Property
Languageterraform
Severitycritical
Servicecompute
ProviderGoogle
Vulnerability Typeomission

Description

The SSL policy allows TLS versions earlier than 1.2, which are outdated and contain known security vulnerabilities. This configuration exposes data in transit to interception and compromise due to weak encryption protocols.

Impact

Attackers could exploit outdated TLS versions to decrypt, intercept, or manipulate sensitive data transmitted between clients and servers, leading to data breaches, session hijacking, or loss of data integrity. This undermines compliance and exposes the organization to significant security risks.

SSL should be enforced on database connections where applicable

Property
Languageterraform
Severitymedium
Servicedatabase
ProviderAzure
Vulnerability Typeomission

Description

Database servers are configured without enforcing SSL connections, allowing clients to connect without encryption. This exposes data in transit to potential interception or tampering.

Impact

Without SSL enforcement, sensitive information such as credentials and application data can be intercepted or altered by attackers monitoring the network, increasing the risk of data breaches and unauthorized access.

Resolution

Enable SSL enforcement

Stackdriver Logging should be enabled

Property
Languageterraform
Severitylow
Servicegke
ProviderGoogle

Description

Stackdriver Logging is not enabled for the GKE cluster, resulting in container stdout/stderr logs not being captured for monitoring and debugging. This configuration reduces operational visibility into cluster activity and issues.

Impact

Without Stackdriver Logging, it becomes difficult to detect, investigate, and respond to operational problems or security incidents in the cluster, increasing the risk of undetected failures or malicious activity.

Stackdriver Monitoring should be enabled

Property
Languageterraform
Severitylow
Servicegke
ProviderGoogle

Description

The GKE cluster is not configured with Stackdriver Monitoring, resulting in a lack of aggregated logs, events, and metrics collection for Kubernetes workloads. This reduces observability and monitoring capabilities in production environments.

Impact

Without Stackdriver Monitoring, issues and anomalies within the cluster may go undetected, making it harder to troubleshoot failures or security incidents. This can lead to delayed incident response, increased downtime, and potential non-compliance with monitoring requirements.

Storage accounts should be configured to only accept transfers that are over secure connections

Property
Languageterraform
Severityhigh
Servicestorage
ProviderAzure
Vulnerability Typemisconfiguration

Description

The storage account allows data transfers over insecure connections (HTTP), rather than enforcing secure transfers (HTTPS only). This misconfiguration exposes data in transit to potential interception or tampering.

Impact

If exploited, attackers could intercept or manipulate sensitive data transmitted to or from the storage account over unencrypted connections, leading to data breaches, unauthorized data access, or loss of data integrity.