(0Day) Alibaba Alipay URL Scheme Handling Vulnerability
The Alipay app on affected installations does not properly validate URL schemes, allowing a malicious local app to act on them. 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 affected installations of Alibaba Alipay. 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 who can run low-privileged code locally could steal tokens and manipulate requests in the context of the current user.
What the attacker needed
Ability to execute low-privileged code locally
The fix
The app should validate that URL schemes are only acted upon when invoked by a trusted application, but the text says no patch was provided.
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 link that opens a specific app, like alipay://. The Alipay app did not check whether such a link came from a trusted source. A malicious app already running on the same device could send a crafted link to make Alipay perform actions or leak login tokens.
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.