Vulnerability #6: Weak Host Validation
PreviousVulnerability #5: Insufficient URL ValidationNextVulnerability #7: AWS Cognito Misconfiguration
Last updated
Last updated
Now letβs focus on the else if block when the path supplied in a deeplink is /webview
. Similar to the previous vulnerability, it retrieves data from the intent -> gets the ?url
query parameter.
However, there is an additional step to check if the url we retrieved endswith the string insecureshopapp.com
. This may be a mechanism implemented by developers to only allow opening urls that they own. However, this is vulnerable since we can easily bypass the check: