Skip to content
RCE Advisory Advanced CVE-2023-21515

(Pwn2Own) Samsung Galaxy S22 McsWebViewActivity Permissive List of Allowed Inputs Remote Code Execution Vulnerability

The McsWebViewActivity class on Samsung Galaxy S22 phones accepts a permissive list of allowed inputs, which lets a remote attacker execute arbitrary code. The attacker must get the target to visit a malicious page or open a malicious file.

Interrupt Labs Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Samsung Galaxy S22 smartphones. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Interrupt Labs, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the McsWebViewActivity class did not properly restrict the inputs it accepted, allowing unsafe content to be processed.

Impact

An attacker could execute arbitrary code in the context of the current user, but only if the target visits a malicious page or opens a malicious file.

What the attacker needed

Target visits a malicious page; or opens a malicious file

The fix

Samsung has issued an update to correct this vulnerability.

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 report has not been written yet. The Original tab links to the source.

A WebView is a component inside a phone app that shows web pages. This app component was too loose about what it would accept, so a crafted web page or file could make it run attacker code on the phone. The user has to be tricked into opening that page or file.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Interrupt Labs

View all

10 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.