AWS - RDS Unauthenticated Enum

Support HackTricks

RDS

अधिक जानकारी के लिए देखें:

AWS - Relational Database (RDS) Enum

Public Port

यह डेटाबेस को इंटरनेट से सार्वजनिक रूप से एक्सेस देने की संभावना है। हमलावर को यूजरनेम और पासवर्ड, IAM एक्सेस, या डेटाबेस में प्रवेश करने के लिए एक एक्सप्लॉइट जानने की आवश्यकता होगी।

Public RDS Snapshots

AWS RDS स्नैपशॉट्स को डाउनलोड करने के लिए किसी को भी एक्सेस देने की अनुमति देता है। आप अपने खाते से इन सार्वजनिक RDS स्नैपशॉट्स को बहुत आसानी से सूचीबद्ध कर सकते हैं:

# Public RDS snapshots
aws rds describe-db-snapshots --include-public

## Search by account ID
aws rds describe-db-snapshots --include-public --query 'DBSnapshots[?contains(DBSnapshotIdentifier, `284546856933:`) == `true`]'
## To share a RDS snapshot with everybody the RDS DB cannot be encrypted (so the snapshot won't be encryted)
## To share a RDS encrypted snapshot you need to share the KMS key also with the account


# From the own account you can check if there is any public snapshot with:
aws rds describe-db-snapshots --snapshot-type public [--region us-west-2]
## Even if in the console appear as there are public snapshot it might be public
## snapshots from other accounts used by the current account

सार्वजनिक URL टेम्पलेट

mysql://{user_provided}.{random_id}.{region}.rds.amazonaws.com:3306
postgres://{user_provided}.{random_id}.{region}.rds.amazonaws.com:5432
HackTricks का समर्थन करें

Last updated