GitHub Advisoryadvisory · PyPI
GHSA-mjcr-rqjg-rhg3 Implementation trusts the "me" field returned by the authorization server without verifying it
CRITICAL
Official page ↗
- Ecosystem
- PyPI
- Packages
- datasette-indieauth
- Severity
- Critical
- Weaknesses
- CWE-290
- Reviewed
- 2020-11-24
Affected packages
• PyPI datasette-indieauth: >= 1.0, < 1.1 → fixed in 1.1
Description
Impact
A malicious user can sign in as a user with any IndieAuth identifier. This is because the implementation does not verify that the final `"me"` URL value returned by the authorization server belongs to the same domain as the initial value entered by the user.
Patches
Version 1.1 fixes this issue.
Workarounds
There is no workaround. Upgrade to 1.1 immediately.
References
• Security Considerations: Differing User Profile URLs in the IndieAuth specification.
For more information
If you have any questions or comments about this advisory:
• Open an issue in simonw/datasette-indieauth
Related
Weakness · CWE (1)
- CWE-290 Authentication Bypass by Spoofing weakness