AWS - DocumentDB Enum

Reading time: 3 minutes

tip

AWS हैकिंग सीखें और अभ्यास करें:HackTricks Training AWS Red Team Expert (ARTE)
GCP हैकिंग सीखें और अभ्यास करें: HackTricks Training GCP Red Team Expert (GRTE) Azure हैकिंग सीखें और अभ्यास करें: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks का समर्थन करें

DocumentDB

Amazon DocumentDB, जो MongoDB के साथ संगतता प्रदान करता है, को एक तेज़, भरोसेमंद, और पूरी तरह से प्रबंधित डेटाबेस सेवा के रूप में प्रस्तुत किया गया है। डिप्लॉयमेंट, संचालन, और स्केलेबिलिटी में सरलता के लिए डिज़ाइन किया गया, यह क्लाउड में MongoDB-compatible databases के निर्बाध माइग्रेशन और संचालन की अनुमति देता है। उपयोगकर्ता इस सेवा का उपयोग अपने मौजूदा एप्लिकेशन कोड को चलाने और परिचित ड्राइवर्स तथा टूल्स का उपयोग करने के लिए कर सकते हैं, जिससे MongoDB के साथ काम करने जैसा एक सहज संक्रमण और संचालन सुनिश्चित होता है।

Enumeration

bash
aws docdb describe-db-clusters # Get username from "MasterUsername", get also the endpoint from "Endpoint"
aws docdb describe-db-instances #Get hostnames from here

# Parameter groups
aws docdb describe-db-cluster-parameter-groups
aws docdb describe-db-cluster-parameters --db-cluster-parameter-group-name <param_group_name>

# Snapshots
aws docdb describe-db-cluster-snapshots
aws --region us-east-1 --profile ad docdb describe-db-cluster-snapshot-attributes --db-cluster-snapshot-identifier <snap_id>

NoSQL Injection

चूंकि DocumentDB एक MongoDB compatible database है, आप कल्पना कर सकते हैं कि यह आम NoSQL injection attacks के लिए भी संवेदनशील है:

NoSQL injection - HackTricks

DocumentDB

AWS - DocumentDB Unauthenticated Enum

संदर्भ

tip

AWS हैकिंग सीखें और अभ्यास करें:HackTricks Training AWS Red Team Expert (ARTE)
GCP हैकिंग सीखें और अभ्यास करें: HackTricks Training GCP Red Team Expert (GRTE) Azure हैकिंग सीखें और अभ्यास करें: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks का समर्थन करें