Skip to content
Open redirect Advisory Intermediate CVE-2019-17151

Tencent WeChat name Field Unsafe Redirection Vulnerability

The WeChat client failed to properly validate the name field of a user profile, so a crafted name could cause the app to redirect to an external resource. An attacker who shares a chat session with the victim could use this to send the user to an outside destination, and the report suggests it could be combined with other flaws to run code in the app's process.

Todd Han Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows remote attackers redirect users to an external resource on affected installations of Tencent WeChat. User interaction is required to exploit this vulnerability in that the target must be within a chat session together with the attacker.

Todd Han and Junzhi Lu of TrendMicro Mobile Security Research Team, Zhengyu Dong, 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 client used the unvalidated profile name when constructing a redirect or navigation target, without checking that the destination stayed within trusted bounds.

Impact

A user in a chat with the attacker could be redirected to an external resource; the report claims this may be chained with other vulnerabilities to execute code in the context of the current process, though it gives no demonstration.

What the attacker needed

Attacker shares a chat session with victim; victim interacts with the crafted profile

The fix

It was fixed in the latest online version, 7.0.9.

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 user's display name in a chat app is just text, but the app also uses it in places where it builds links or navigation. If the app trusts that text without checking it, someone can put a special value in their name so the app sends the victim somewhere else. The report says this was fixed in a later version of the app.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

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.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.