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

HISTORY & SECURITY: URL Parsing Differences Between Implementations Security Issues #766

Open
JLLeitschuh opened this issue Mar 28, 2023 · 1 comment

Comments

@JLLeitschuh
Copy link

JLLeitschuh commented Mar 28, 2023

The goal of this thread is to capture, in a single location, all cases of where URL parsing due to differences in parsing has led to a security issue.

This was inspired by the work by Orange Tsai from 2016:

There has been more recent research into this topic by Claroty and Snyk:

Target Impact CVE Link(s)
US Department of State SSRF N/A https://hackerone.com/reports/1747596
Google Closure Library Parser selects wrong authority CVE-2020-8910 https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-8910
HTTP server Apache2 OpenRedirect CVE-2021-32786

I welcome others to add additional links to additional vulnerabilities. Hopefully the whatwg can use these resources to learn about where inconsistencies between the current existing URL parsers cause security impact in real-world applications.

@JLLeitschuh JLLeitschuh changed the title HISTORY: URL Parsing Differences Between Implementations Security Issues HISTORY & SECURITY: URL Parsing Differences Between Implementations Security Issues Mar 28, 2023
@annevk
Copy link
Member

annevk commented Mar 28, 2023

You might also be interested in The Tangled Web: A Guide to Securing Modern Web Applications by Michal Zalewski. I'm pretty sure URL parsing is discussed, though it's been a while since I read it.

But yes, security is a large part of the reason to pursue this effort. Not sure anyone here needs convincing of that, but exploits do always make for interesting reading and sometimes inform necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants