logoalt Hacker News

AgentOrange1234yesterday at 10:03 PM4 repliesview on HN

"if you have a software system that contains two different implementations of IDNA 2003 processing user input"

Is that a real thing though? Is someone doing that?


Replies

kccqzyyesterday at 10:08 PM

It could be an implementation written in the buggy Python and another written in a different language.

For example you might use a ready-made WAF written in a non-Python language in front of a Python app.

rcxdudeyesterday at 11:04 PM

With web applications it's not particularly unusual, because the whole system stack can be quite heterogeneous. If one part of the system is doing authentication and the other part is actually doing the action then it can be a real problem when they interpret the input differently. Differences between proxy and web server interpretations of HTTP headers have been a source of multiple vulnerabilities, for example.

cwilluyesterday at 11:09 PM

Consider the case where your system has components in python and another language without the bug, both of which process that input.

gchamonliveyesterday at 10:07 PM

It isn't until it is, until during a crunch someone adds a package with that condition and eventually that gets exploited or halts the system. It's never a nitpick to shed your system from undesired state because of how complex systems behave.