AWS Updates CloudTrail After Varonis Finds Logging Gap for Anonymous S3 Requests

· Original article ↗

Summary

Varonis Threat Labs reported that anonymous requests to external S3 buckets through VPC endpoints could go unlogged in CloudTrail. AWS updated logging so these requests are recorded as Network Activity events in the endpoint owner's account.

Key points

  • Before AWS's update, anonymous requests from a VPC endpoint to an external S3 bucket could generate no events in the source account.
  • If the endpoint policy allowed access, the target account logged management/data events; if it denied access, the request was blocked and neither account logged events.
  • Varonis said the gap could let an attacker using a compromised account interact with public buckets without detection, including potentially uploading data or downloading malware.
  • AWS updated CloudTrail to log anonymous API requests to external S3 buckets via VPC endpoints as Network Activity events delivered to the endpoint owner's account.
  • Recommended mitigations include least-privilege VPC endpoint policies, regular audits of bucket policies, and alerts on policy changes.

Article Details

Vulnerability Types
  • CloudTrail failed to record anonymous API requests to external S3 buckets made through VPC endpoints as Network Activity events.
Severity
Unknown
Exploitation Status
unknown
Exploit Availability
unknown
Patch Status
available
Workarounds
  • Apply least-privilege VPC endpoint policies, explicitly deny anonymous access, and enforce IAM conditions for all requests.
  • Audit bucket policies and remediate public or overly permissive policies.
  • Enable alerts for changes to VPC endpoint or bucket policies.

MITRE ATT&CK

Vendors

Products

Related Articles