CVE-2013-5745: Input Validation
Description of problem: I have vino set to require a password. The system is on a publicly accessible machine. One morning I arrived to find / full and vino-server using inordinate amounts of CPU. In trying to find free space I also noticed that soon after freeing space, it would get used up. (Which is when I looked at what processes were running and found vino using too much CPU for not having a client connected).
In the end I found that ~/.cache/gdm/session.log was 669G. A message was repeated "AM Authentication deferred - ignoring client message".
It was repeating 80 000 per second in the log file.
Thus Vino should introduce some form of rate limiting or other related features to help avoid this situation. It would also be nice if it could detect something like this and add a setting for blacklisting IPs that make more than X requests per second or some such. I realize though that some of that could be done via a firewall so perhaps not on that second part. However rate limiting the logs would be very useful to avoid this situation
How reproducible: Not easy to reproduce as I don't know exactly what was making the requests to vino.
Upstream bug: https://bugzilla.gnome.org/showbug.cgi?id=693608
Other sources
The vinoserverclientdatapending function in vino-server.c in GNOME Vino 2.26.1, 2.32.1, 3.7.3, and earlier, and 3.8 when encryption is disabled, does not properly clear client data when an error causes the connection to close during authentication, which allows remote attackers to cause a denial of service (infinite loop, CPU and disk consumption) via multiple crafted requests during authentication.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2013-5745?
CVE-2013-5745 has been rated as a medium severity vulnerability due to its potential to cause denial of service.
How do I fix CVE-2013-5745?
To fix CVE-2013-5745, it is recommended to update to a later version of GNOME Vino that addresses this vulnerability.
What systems are affected by CVE-2013-5745?
CVE-2013-5745 affects various versions of GNOME Vino, particularly those prior to version 3.8 when encryption is disabled.
What does CVE-2013-5745 exploit?
CVE-2013-5745 exploits the failure to properly clear client data in GNOME Vino during authentication errors.
Can CVE-2013-5745 affect remote connections?
Yes, CVE-2013-5745 can allow remote attackers to cause a denial of service during authentication processes.