AWS - RDS Unauthenticated Enum

Jifunze kuhusu udukuzi wa AWS kutoka mwanzo hadi mtaalamu na htARTE (Mtaalamu wa Timu Nyekundu ya HackTricks AWS)!

Njia nyingine za kusaidia HackTricks:

RDS

Kwa habari zaidi angalia:

pageAWS - Relational Database (RDS) Enum

Bandari ya Umma

Inawezekana kutoa upatikanaji wa umma kwa database kutoka kwenye mtandao. Mshambuliaji bado atahitaji kujua jina la mtumiaji na nenosiri, upatikanaji wa IAM, au kutumia ili kuingia kwenye database.

Picha za RDS za Umma

AWS inaruhusu kutoa upatikanaji kwa yeyote kupakua picha za RDS. Unaweza kuorodhesha picha za RDS za umma hivi karibuni kutoka kwenye akaunti yako mwenyewe:

# 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

Kiolezo cha URL ya Umma

mysql://{user_provided}.{random_id}.{region}.rds.amazonaws.com:3306
postgres://{user_provided}.{random_id}.{region}.rds.amazonaws.com:5432
Jifunze kuhusu udukuzi wa AWS kutoka sifuri hadi shujaa na htARTE (Mtaalam wa Timu Nyekundu ya AWS ya HackTricks)!

Njia nyingine za kusaidia HackTricks:

Last updated