Re:Zoom: Remote Code Execution with XMPP Stanza Smuggling
by zamalek on Tuesday May 24, 2022 @04:26PM
(#31497167)
It's possible by blocking the thread that's reading the XML, but now you're in thread-per-client territory, and that doesn't scale.
[ Parent
| on HN ]
Re:Zoom: Remote Code Execution with XMPP Stanza Smuggling
by Flowdalic on Wednesday May 25, 2022 @01:22AM
(#31500877)
Smack uses an XML pull parser and non-blocking I/O. It does so by splitting the XMPP stream top-level elements first and only feeding complete elements to the pull parser.
Re:Zoom: Remote Code Execution with XMPP Stanza Smuggling
by forty on Wednesday May 25, 2022 @03:13AM
(#31501470)
https://github.com/igniterealtime/Smack/blob/master/smack-xm...
I don't see any opportunity not to block when calling "next"