Wildcard principal has been specified in access policy Affecting ElasticSearch service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
IAM/ Accounts Allocation

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
CSA-CCMISO-27001SOC-2
  • Snyk IDSNYK-CC-00220
  • creditSnyk Research Team

Description

Using wild card will grant unnecessary access to any user in the account.

How to fix?

Set Principal attribute in the policy to specific entities for example arn:aws:iam::123456789012:user/JohnDoe.