RCE @ mozilla autopush
Categories
(Websites :: Other, task)
Tracking
(Not tracked)
People
(Reporter: simonjohnathan, Unassigned)
Details
(Keywords: reporter-external, Whiteboard: [reporter-external] [web-bounty-form] [verif?])
AWS credentials:
adm_creds = json.dumps({
"dev":
{
"app_id": "amzn1.application.StringOfStuff",
"client_id": "amzn1.application-oa2-client.ev4nM0reStuff",
"client_secret": "deadbeef0000decafbad1111"
}
})
Thanks for looking at this Johnathan.
https://github.com/mozilla-services/autopush/blob/cf9b86d823e4b5d82ee0e199248870f39a00b22e/autopush/tests/test_z_main.py#L314-L321 are placeholder creds. Amazon API keys start with AKIA https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
I think you can generate access token with these:
https://developer.amazon.com/docs/amazon-drive/ad-restful-api-getting-started.html#authorization-code-grant
(In reply to Johnathan Simon from comment #2)
I think you can generate access token with these:
https://developer.amazon.com/docs/amazon-drive/ad-restful-api-getting-started.html#authorization-code-grant
True, I don't think they're valid though. We'd be interested if you're able to use them to generate working creds.
Updated•6 years ago
|
Updated•10 months ago
|
Description
•