Skip to content

CWE-295: Android WebView SSL bypass — onReceivedSslError unconditionally calls handler.proceed(), OAuth token exposed #25

Description

@LeoWSY-hashblue

Summary

WeiboDialog.java unconditionally calls handler.proceed() in the onReceivedSslError callback. OAuth redirect carries access_token through unverified WebView. This allows any self-signed certificate to be accepted during OAuth login.

Impact

OAuth access tokens exposed to MITM via malicious WiFi or proxy. Attacker gains account access.

Remediation

Do not proceed on SSL errors. Display user warning or reject the connection. Full report available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions