๐ก๏ธ AWS IAM AWSCloudShellFullAccess Policy is attached๐ข
- Contextual name: ๐ก๏ธ AWSCloudShellFullAccess Policy is attached๐ข
- ID:
/ce/ca/aws/iam/detach-aws-cloudshell-full-access-policy - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
- ๐ AWS IAM Policy
- ๐ AWS IAM Policy - object.extracts.yaml
- ๐งช test-data.json
Descriptionโ
Descriptionโ
AWS CloudShell is a convenient way of running CLI commands against AWS services. AWSCloudShellFullAccess managed IAM policy provides full access to CloudShell, which allows file upload and download capability between a user's local system and the CloudShell environment. Within the CloudShell environment a user has sudo permissions, and can access the internet. So it is feasible to install file transfer software (for example) and move data from CloudShell to external internet servers.
Rationaleโ
Access to this policy should be restricted as it presents a potential channel for data exfiltration by malicious cloud admins that are given full permissions to the service. AWS documentation describes how to create a more restrictive IAM policy which denies file transfer permissions.
Auditโ
From Consoleโ
- Open the IAM console at https://console.aws.amazon.com/iam/.
- In the left pane, select
Policies.- Search for and select
AWSCloudShellFullAccess.- On the
Entitiesattached tab, ensure that there are no entities using this policy.... see more
Remediationโ
Remediationโ
From Consoleโ
- Open the IAM console at https://console.aws.amazon.com/iam/.
- In the left pane, select
Policies.- Search for and select
AWSCloudShellFullAccess.- On the
Entitiesattached tab, for each item, check the box and selectDetach.
policy.yamlโ
Linked Framework Sectionsโ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| ๐ผ CIS AWS v2.0.0 โ ๐ผ 1.22 Ensure access to AWSCloudShellFullAccess is restricted - Level 1 (Manual) | 1 | no data | |||
| ๐ผ CIS AWS v3.0.0 โ ๐ผ 1.22 Ensure access to AWSCloudShellFullAccess is restricted - Level 1 (Manual) | 1 | no data | |||
| ๐ผ CIS AWS v4.0.0 โ ๐ผ 1.22 Ensure access to AWSCloudShellFullAccess is restricted (Manual) | 1 | no data | |||
| ๐ผ CIS AWS v4.0.1 โ ๐ผ 1.22 Ensure access to AWSCloudShellFullAccess is restricted (Manual) | 1 | no data | |||
| ๐ผ CIS AWS v5.0.0 โ ๐ผ 1.21 Ensure access to AWSCloudShellFullAccess is restricted (Manual) | 1 | no data | |||
| ๐ผ CIS AWS v6.0.0 โ ๐ผ 2.21 Ensure access to AWSCloudShellFullAccess is restricted (Manual) | 1 | no data | |||
| ๐ผ Cloudaware Framework โ ๐ผ General Access Controls | 11 | no data |