Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Contribution] Ronin.ae AppFlow Vulnerabilities #290

Closed
ramimac opened this issue Apr 12, 2024 · 0 comments
Closed

[Contribution] Ronin.ae AppFlow Vulnerabilities #290

ramimac opened this issue Apr 12, 2024 · 0 comments
Labels
addition New security issue or vulnerability aws Issue related to an AWS service

Comments

@ramimac
Copy link
Contributor

ramimac commented Apr 12, 2024

Summary (give a brief description of the issue)

Undocumented API allowed reading partial secrets

When looking at the API console for the AppFlow API model, we stumbled upon a definition of the AppFlow service called sandstoneconfigurationservicelambda.

This vulnerability allowed anyone to steal secrets managed by AppFlow in any AWS account.

It is made possible by using an undocumented field awsOwnedManagedAppCredentialsArn during connector registration and connector updates. We believe it was made for managed OAuth apps (we only found the SharePoint connector making use of it).
Preconditions

We needed to know the Secret ARN of the victim’s secret. (see note below)
The victim secret ARN belonged to a connection profile which is of the type OAuth or contains clientId and clientSecret.

SSRF using redirects

This confirmed that we could make arbitrary GET requests to any URL from the WooCommerce connector.

References (provide links to blogposts, etc.)

https://ronin.ae/news/amazon-appflow-vulnerabilities/

@ramimac ramimac added the addition New security issue or vulnerability label Apr 12, 2024
ramimac added a commit to ramimac/open-cvdb that referenced this issue Apr 19, 2024
@korniko98 korniko98 added the aws Issue related to an AWS service label Apr 28, 2024
@mer-b mer-b closed this as completed in fe6fffa Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition New security issue or vulnerability aws Issue related to an AWS service
Projects
None yet
Development

No branches or pull requests

2 participants