Issue
AWS Athena allows you to query Cloudfront access logs that are stored in S3. These access logs include URIs that originate from web clients.
If a bad actor included malicious data in this URI how could one make sure that Athena did not get infiltrated by SQL injected URI string? Does Athena or Cloudfront provide any default protections here?
Solution
No. Only AWS WAF provides protection against SQL injections.
Please note that it is not the job of the query engine to prevent SQL injections -- it is the job of whatever generates the SQL before sending it to the database.
Answered By - John Rotenstein Answer Checked By - Katrina (sql.easybugfix Volunteer)
Post a Comment
Post a Comment