Skip to main content

Mozilla spars with Microsoft over WebGL security

WebGL general graphic
Image used with permission by copyright holder

Last week, Microsoft raised some hackles in the Web development community by claiming that there was no way to implement the WebGL open 3D graphics standard in Internet Explorer without exposing users to unacceptable potential security risks.

WebGL is a 3D graphics environment build on OpenGL 2.0, used for many 3D games and technologies, and promises to bring hardware-accellerated 3G graphics support to Web browsers. Google Chrome and Mozilla Firefox already support WebGL, and Opera and Safari are working on support. However, while Microsoft has made many strides with Internet Explorer 9—and is already showing off work on IE10— Internet Explorer offers no support for WebGL.

In a detailed posting, Microsoft outlined its primary reasons for considering WebGL a security risk: that WebGL exposes hardware functionality (e.g. video cards and processing) to Web content in an “overly permissive” way, that WebGL security servicing relies too heavily on third party components, and that today’s graphics systems were never intended to cope with shaders and 3D geometries that are specifically designed as attacks.

“We believe that WebGL will likely become an ongoing source of hard-to-fix vulnerabilities,” Microsoft wrote. “In its current form, WebGL is not a technology Microsoft can endorse from a security perspective.”

Microsoft also cited two reports from Context Information Security that outlined security issued in WebGL.

Not surprisingly, WebGL supporters take issue with Microsoft’s position, and leading the charge for the moment is Mozilla’s VP of technical strategy, Mike Shaver, who notes that Microsoft seems to overcome all of the concerns it has over WebGL in its own Silverlight technology. Although Silverlight uses Microsoft’s own Direct3D technology on Windows, on Mac OS X Silverlight taps into OpenGL in pretty much the same manner as WebGL.

“I suspect that whatever hardening [Microsoft] applied to the low-level D3D API wrapped by Silverlight 3D can be applied to a Microsoft WebGL implementation as well,” Shaver wrote. “That Silverlight supports Mac as well, where these capabilities must be mapped to OpenGL, makes me even more confident.”

Shaver acknowledges security issues in WebGL are real—including bugs that impact Firefox’s WebGL implementation. However, Shaver argues these issues are like security issues in any other technology and are being addressed by a responsible ecosystem of partners and developers.

“It may be that we’re more comfortable living on top of a stack we don’t control all the way to the metal than are OS vendors,” Shaver wrote, “but our conversations with the developers of the drivers in question make us confident that they’re as committed as us and Microsoft to a robust and secure experience for our shared users.”

Geoff Duncan
Former Digital Trends Contributor
Geoff Duncan writes, programs, edits, plays music, and delights in making software misbehave. He's probably the only member…
How to easily connect any laptop to a TV
An image-editor app being used to edit photos on a laptop.

If you’re using a laptop on a daily basis, you’ll know how tiring it can get to stare at a 13-inch screen for hours on end. This is why it’s great that most modern PCs can be connected to a TV. Not only does this give you a bigger display to work with, but you’ll still be able to use your laptop as you normally would. So no saying goodbye to those handy trackpad gestures!

Read more
The Asus ROG Ally just got a game-changing update
Asus ROG Ally handhelds side by side.

Asus' ROG Ally is one of the best handheld gaming PCs you can buy, and now it's getting even better. Asus is updating the handheld with AMD's Fluid Motion Frames (AFMF). This is a driver-level feature that adds frame generation to the majority of DirectX 11 and 12 games, which should vastly improve performance.

We've seen AFMF in action on AMD graphics cards previously. The feature launched late last year for desktop and mobile AMD graphics cards, but the ROG Ally oddly didn't support the feature. Asus' handheld uses the Ryzen Z1 chipset, which includes both an AMD processor and graphics card, but it uses its own specialized driver. Because of that, it didn't receive AFMF support right away.

Read more
How to delete a Discord server on desktop and mobile
Memrise bot in the Discord app directory.

Have you had enough of Discord for a while? We get it. It can be a little exhausting to say the least, especially if you’re running a jam-packed server, filled with multimedia and messages. Fortunately, if you’re in the mood to take a break, it’s not too hard to delete your Discord server.

Read more