Re:Steam hit by major security breach
by __david__ on Monday July 27, 2015 @03:55AM
(#9953931)
I'm missing something here... How does "[email protected];[email protected]" validate as "[email protected]"? Is this a regexp vs strcmp() issue or is there something more subtle at play?
[ Parent
| on HN ]
One scenario I can imagine is a regex which doesn't properly handle multi-line inputs (quite common issue in ruby[1]). Together with a mail header injection vulnerability, this input could be dangerous:
[email protected]\nCc:[email protected]
[1]: http://guides.rubyonrails.org/security.html#regular-expressi...Total speculation, but maybe they're trying to be clever and accept things like "John Doe <[email protected]>" as being equivalent to "[email protected]" and end up using a full e-mail parsing library for the matching which is more capable than they realize?
It may send it to multiple addresses. I know in outlook and in .NET libraries, the semicolon is the delimiter for multiple email addresses.