Researchers at ReVuln recently published a paper that details a vulnerability affecting NVIDIA mental ray which allows an attacker to take control over a mental ray based render farm.
Probably not all know what is a render farm and which is its primary function, a render farm is a group of network of computers (slaves) dedicated to the image rendering for large productions.
Today there are various farms available on the internet to allow Internet users to access similar services at reasonable prices. Below the links to principal online render farm services on the Internet:
Render farm provides a huge computational capability due the task they perform, simultaneously many dedicated processors work to the image rendering.
“For instance, Industrial Light and Magic had a render farm with 5,700 processor cores (and 2,000 cores in their artists’ machines) when Transformers 2 was produced. Even a small facility with only a dozen animators is likely to have more than a hundred processor cores at their disposal”
The NVIDIA mental ray3 “is a feature rich, high performance 3D rendering software that creates images of outstanding quality and unsurpassed realism based on advanced ray tracing techniques”, it has been used by industry professionals for over 25 years becoming a standard for photorealistic rendering across the ﬁlm, visual effects, and design industries.
It is embedded into several content creation applications (e.g. AutoDesk 3ds Max, AutoDesk Maya) used in various contexts including Visual Effects, Feature Animation, Game Creation, Architectural Design, Product Prototyping and Design CAD visualization.
NVIDIA mental ray supports all principal platforms including Windows, Linux and MacOS. On Windows machines it runs as a system service with SYSTEM privileges, the service listens for incoming connections on the TCP port: 7520 (this port might be different for older versions of the software)
ReVuln researchers have found a vulnerability affecting NVIDIA mental ray (result) version 22.214.171.124, which allows an attacker to load arbitrary DLLs on a target system, including a malicious remote library to gain the control of the render farm. What is interesting is that the vulnerability could be exploited sending a specifically crafted packet to the target (slave).
“As a side note, we noticed that the service spawns a new process for each new connection, which means that an attacker has potentially infinite chances to achieve a successful exploitation.”
In a typical attack scenario the attacker gets access to one of the systems available into the victim architecture and exploits the flaw in NVIDIA mental ray to get the control over the render farm.
Why to hack a render farm?
The attacker could be interested to abuse of the computational capability of the hardware composing the render farm, the powerful resources could be used by hackers to perform password cracking with bruteforce attack.