Vulnerabilities > CVE-2017-9450 - Improper Privilege Management vulnerability in Amazon web Services Cloudformation Bootstrap
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
The Amazon Web Services (AWS) CloudFormation bootstrap tools package (aka aws-cfn-bootstrap) before 1.4-19.10 allows local users to execute arbitrary code with root privileges by leveraging the ability to create files in an unspecified directory.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Restful Privilege Elevation Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Nessus
NASL family | Amazon Linux Local Security Checks |
NASL id | ALA_ALAS-2017-861.NASL |
description | A vulnerability was reported in the CloudFormation bootstrap tools that allows an attacker to execute arbitrary code as root if they have local access to the system and are able to create files in a specific directory (CVE-2017-9450 ) |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 101959 |
published | 2017-07-26 |
reporter | This script is Copyright (C) 2017-2018 Tenable Network Security, Inc. |
source | https://www.tenable.com/plugins/nessus/101959 |
title | Amazon Linux AMI : aws-cfn-bootstrap (ALAS-2017-861) |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/145177/awscfnbootstrap-exec.txt |
id | PACKETSTORM:145177 |
last seen | 2017-12-04 |
published | 2017-12-01 |
reporter | Harry Sintonen |
source | https://packetstormsecurity.com/files/145177/aws-cfn-bootstrap-Local-Code-Execution.html |
title | aws-cfn-bootstrap Local Code Execution |
References
- http://www.securityfocus.com/bid/99972
- http://www.securityfocus.com/bid/99972
- https://alas.aws.amazon.com/ALAS-2017-861.html
- https://alas.aws.amazon.com/ALAS-2017-861.html
- https://sintonen.fi/advisories/aws-cfn-bootstrap-local-code-execution-as-root.txt
- https://sintonen.fi/advisories/aws-cfn-bootstrap-local-code-execution-as-root.txt