Skip to content
Access control Advisory Intermediate

(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.

Lilang Wu Follow

Originally disclosed on Zero Day Initiative

Medium 4.5 View original

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.

lilang wu, moony Li and yuchen zhou of Trend Micro, 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

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.

More by Lilang Wu

View all

1 more disclosed report, 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.

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.