You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function leaks memory, because tmphost buffer is filled by using snprintf function, but after buffer is being sent back to client using WriteToRFBServer(client, tmphost, sizeof(tmphost)), which sent the whole tmphost buffer including its uninitialized part, which would expose uninitialized memory of client application.
Example file examples/repeater.c contains same kind of vulnerability as well.
This security issue is a result of my work at Kaspersky Lab ICS CERT Vulnerability Research Group at position of Security Researcher.
ConnectToRFBRepeater
libvncserver/libvncclient/rfbproto.c
Line 401 in 79516a6
tmphost
buffer is filled by usingsnprintf
function, but after buffer is being sent back to client usingWriteToRFBServer(client, tmphost, sizeof(tmphost))
, which sent the wholetmphost
buffer including its uninitialized part, which would expose uninitialized memory of client application.Example file
examples/repeater.c
contains same kind of vulnerability as well.This security issue is a result of my work at Kaspersky Lab ICS CERT Vulnerability Research Group at position of Security Researcher.
For more information about ICS CERT please contact:
[email protected]
https://ics-cert.kaspersky.com/
Best regards,
Pavel Cheremushkin
The text was updated successfully, but these errors were encountered: