Tencent WeChat URL Scheme Handling Vulnerability
The WeChat client did not properly validate URL schemes, allowing a malicious local application to intercept and modify requests. An attacker with low-privileged code execution could steal tokens and manipulate requests as the current user.
This vulnerability allows local attackers to modify requests on vulnerable installations of Tencent WeChat. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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
Impact
An attacker with local low-privileged code execution could steal tokens and manipulate requests in the context of the current user.
What the attacker needed
Local low-privileged code execution on target
The fix
The issue was fixed on the server side, so no client patch version is available.
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 URL scheme is a way for apps to open links that start with a custom name, like weixin://. WeChat did not check properly whether a link was opened by a trusted app or a malicious one. So a bad app already running on the phone could hijack those links and steal the user's login tokens.
What is Mobile?
Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.