AWS RDS Vulnerability Leads to AWS Internal Service Credentials
https://blog.lightspin.io/aws-rds-critical-security-vulnerability
AWS RDS Vulnerability Leads to AWS Internal Service Credentials
https://blog.lightspin.io/aws-rds-critical-security-vulnerability
TLDR: Traversed a few files using the log_fdw extension. Got the internal AWS creds. Pretty cool method. Then…
Dec 09, 2021: Vulnerability was reported to AWS security.
Dec 09, 2021: AWS confirming the vulnerability and began with remediation and investigation.
Dec 14, 2021: AWS deployed the Initial patch, updating that they are working on a full fix.
Mar 22, 2022: AWS confirmed that they reached out to all affected customers and fixed all current supported versions.
I’m not an expert here, but would something like SELinux help prevent this kind of file access?
In my experience with RHEL8 systems, yes. Under SELinux postgres processes would be confined to directories typed differently the rest of the operating system. The volume containing the compromised grover credentials would then be typed of a type confined postgresql process would be unable to access. However there may be reasons why it would, if postgres processes do need to legitimately access those credentials.
Amazon also confirmed that nobody had exploited it.