Skip to content
Access control Write-up Intermediate

webOS Revisited - Even More Mistaken Identities

Two access control flaws in LG webOS TV allowed an unprivileged app to bypass restrictions on the Notification Manager and then use it to call other protected internal APIs, such as the Download Manager, enabling arbitrary file download and overwrite. The full impact was not fully determined.

Andreas Lindh Follow

Published on blog.recurity-labs.com

For an overview and introduction to webOS and this research, please see my previous post.

Andreas Lindh (@addelindh), on blog.recurity-labs.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the access control check only verifies that the caller ID contains a trusted prefix (such as 'com.webos.'), which can be spoofed by using the luna-send-pub tool, and the Notification Manager does not properly validate subsequent actions, allowing privilege escalation.

Impact

An unprivileged attacker (such as a webOS app) could call any protected and security-sensitive internal API, which could result in arbitrary file access, file overwrites, and more; the full impact is yet to be determined.

What the attacker needed

Unprivileged webOS app; user interaction (pressing notification)

How it was found

  1. Call the Download Manager directly with luna-send-pub; it fails with 'Denied method call'.
  2. Call createAlert with an onclick action pointing to the Download Manager; it fails with 'Not allowed to call method specified in the uri'.
  3. Call createAlert with an onclick action pointing to createAlert itself, and in its parameters include a second onclick action pointing to the Download Manager.
  4. Press the second notification box on the TV; the system makes the request to the specified URL and downloads the file.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The TV's internal services check who is calling them by looking at a name that the caller provides. The researcher found that a normal app could pretend to be a system service by using a special command, and then trick the notification service into making calls on its behalf. This let the app do things it should not be allowed to do, like download files to the TV.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Andreas Lindh

View all

1 more disclosed report, best first.

More from LG

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.