RDS - Relational Database Service
RDS exploitation
Amazon RDS - Relational Database Service
AWS Relational Database Service (RDS) is an easy-to-manage relational database service.
Amazon RDS supports several database instances including:
Amazon Aurora (port 3306)
PostgreSQL (5432)
MySQL (port 3306)
MariaDB (port 3306)
Oracle Database (port 1521)
SQL Server (port 1433)
Enumeration
Information about the clusters in RDS
Information about the database instances in RDS
Describe Database Snapshots
Information about the subnet group in RDS
Information about the database security groups in RDS
Information about the database proxies in RDS
Data Exfiltration
Password Based
Bruteforce attack:
The tmpdir
variable provides further confirmation that this is an AWS RDS instance
IAM Based Authentication (token)
Get the database instance connection temporary token from the RDS endpoint
Connect to mysql using temporary token
Snapshots
Public snapshots from single RDS database instances that belong to AWS account ID
Public snapshots from RDS database cluster instances
The snapshot can be restored. From the Actions
menuin GUI, select Restore snapshot
Interesting Book
Last updated