U.S. Dept Of Defense · Report #1704035
AWS Credentials Disclosure at ███
Validstatus
mediumseverity
14upvotes
24 Feb 2023disclosed
How it was found
Hi team!! I found the config.json file, which contains sensitive information of AWS.
POC: https://███████/config.json
{"aws": {
"accessKeyID": "███████",
"secretAccessKey": "██████████",
"region": "███",
"bucket": "██████",
"endpoint": "https://s3.amazonaws.com"
},
"serverSettings": {
"port": 443,
"timeout": 18000000
},
"█████████": {
"authorizationURL": "https://████/ms_oauth/oauth2/endpoints/oauthservice/authorize",
"tokenURL": "https://████/ms_oauth/oauth2/endpoints/oauthservice/tokens",
"clientID": "██████████",
"clientSecret": "█████",
"callbackURL": "https://████████/callback",
"userProfileURL": "https://███/ms_oauth/resources/userprofile/me"
}
}
Impact
By using leaked AWS credentials or abusing credentials with misconfigured permissions, an attacker could try to gain access to sensitive information on the AWS account or perform arbitrary modification on the AWS resources.
System Host(s)
█████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Use a browser to navigate to: https://██████/config.json