NVIDIA mental ray flaw allows the control of entire render farm

Pierluigi Paganini December 12, 2013

Researchers at ReVuln demonstrated how gain the control of an entire render farm exploiting the vulnerability affecting NVIDIA mental ray.

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:

www.respower.com
www.rendercore.com
www.renderrocket.com

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”

Render farm schema

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 film, 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)

 Render farm service NVIDIA mental ray

ReVuln researchers have found a vulnerability affecting NVIDIA mental ray (result) version 3.11.1.10, 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.

Render farm attack scenario

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.

Another interesting use of so huge computational capability, offered by numerous GPUs present in the render farm, is the Bitcoin mining … Sounds interesting, what do you think about?

Pierluigi Paganini

(Security Affairs –  Render farm, Hacking)



you might also like

leave a comment