2 ms·
This is far from uncommon. Back in DEFCON 2017 Orange Tsai gave a talk about inconsistencies in different URL parsing libraries in different languages. The open
by kccqzy 8y ago
This is far from uncommon. Back in DEFCON 2017 Orange Tsai gave a talk about inconsistencies in different URL parsing libraries in different languages. The opening example was a single URL that had a different hostname when parsed by urllib, urllib2, and requests. He also demoed examples of using unusual characters like spaces and newlines to talk to Redis or SMTP while pretending to be HTTP.
Slides: https://media.defcon.org/DEF%20CON%2025/DEF%20CON%2025%20presentations/DEFCON-25-Orange-Tsai-A-New-Era-of-SSRF-Exploiting-URL-Parser%20in-Trending-Programming-Languages-UPDATED.pdf https://media.defcon.org/DEF%20CON%2025/DEF%20CON%2025%20pre...
- strictnein 8y agoMan, that's a really good presentation.
- jetru 8y agoOrange actually reported this bug to urllib. The ticket in the HN link is actually a DUP of Orange's original finding