LAN attack can put some Samsung TVs in endless restart loop

Researcher finds serious remote denial-of-service vulnerability in Samsung TV firmware

A vulnerability in the firmware of several network-enabled Samsung TV models and possibly Blu-ray players allows potential attackers to put the vulnerable devices into an endless restart loop that requires the intervention of a technician to terminate, according to independent security researcher Luigi Auriemma.

Auriemma discovered the flaw on April 19 and published a proof-of-concept exploit on his website. The bug is located in the code that allows Samsung devices to be controlled over the local area network (LAN) through special iOS or Android applications.

Auriemma performed his tests on a D6000 Samsung TV with the latest firmware installed, but according to the Google Play description of the "Samsung Remote" app for Android, the remote control feature is supported on TV models greater or equal to LCD 650, LED 6500, PDP 6500, LCD 550, LED 5500, PDP 5500 and Blu-ray device models greater or equal to BD-Player D5300, BD-HTS D5000, BD-AVR D7000 and BD-HDD Combo D6900/8200/8500/8900.

When the remote control app tries to connect for the first time to a Samsung TV, the TV displays a dialog on the screen asking the user to allow or deny the connection, Auriemma said in his public advisory. The initial data packet is sent over port 55000 and contains several fields with details about the remote device, including its name, MAC address and IP address.

However, if the controller name field contains invalid characters or a line break, the TV enters in an endless restart loop regardless of whether the user selects allow or deny on the dialog screen, Auriemma said.

For about five seconds the TV appears to operate normally. Then the controls stop working, both on the physical panel and on the TV remote, and after five more seconds the TV reboots.

This behavior repeats indefinitely until a technician intervenes using the service mode, which is possible because of the five seconds of normal operation after each reboot, Auriemma said. "The user can avoid the exploiting of the vulnerability by pushing the EXIT button on the controller when the message with allow/deny is displayed on the screen," he said.

Even though the network remote control feature is intended for Android or iOS devices, the control packet can be sent from any network-enabled computer. In fact, Auriemma's proof-of-concept exploit is packed as an .exe file.

This means that a potential attacker only needs to obtain access to the LAN that the TV has joined, in order to attack it. This can be done either by breaking into a wireless access point or by infecting a computer on the same network with malware.

Auriemma also found a secondary bug that causes the device to crash if the MAC address field in the data packet contains an overly long string. He suspects that this is because of a buffer-overflow vulnerability, but can't confirm it because he doesn't want to damage his TV. Many buffer overflow vulnerabilities can result in arbitrary code execution.

Auriemma didn't notify Samsung about the issues he found. "I wanted to report the problems to Samsung but an email address doesn't exist for these types of bugs," the researcher said.

Samsung did not immediately return a request for comment sent via email.

Join the PC World newsletter!

Error: Please check your email address.

Struggling for Christmas presents this year? Check out our Christmas Gift Guide for some top tech suggestions and more.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lucian Constantin

IDG News Service

Most Popular Reviews

Follow Us

Best Deals on GoodGearGuide

Shopping.com

Latest News Articles

Resources

GGG Evaluation Team

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Steph Mundell

LIFEBOOK UH574

The Fujitsu LifeBook UH574 allowed for great mobility without being obnoxiously heavy or clunky. Its twelve hours of battery life did not disappoint.

Andrew Mitsi

STYLISTIC Q702

The screen was particularly good. It is bright and visible from most angles, however heat is an issue, particularly around the Windows button on the front, and on the back where the battery housing is located.

Simon Harriott

STYLISTIC Q702

My first impression after unboxing the Q702 is that it is a nice looking unit. Styling is somewhat minimalist but very effective. The tablet part, once detached, has a nice weight, and no buttons or switches are located in awkward or intrusive positions.

Latest Jobs

Shopping.com

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?