Dangerous RTLO Injection
The Asana Android app failed to sanitise user input containing the Unicode right-to-left override character, causing text to be displayed in reverse. An attacker could use this to disguise a string, file name or URL so it appears benign and to bypass security defences.
- Accepted in 6 hours
- Disclosed after 11 days
Summary by nt3c
It was possible to perform RTLO Injection (Right To Left Override Injection). This technique takes advantage of \u202E, a non-printing Unicode character that causes the text that follows it to be displayed in reverse it is commonly used to disguise a string and/or file name and/or url to make it appear benign and to bypass security defences.
Report details
-
Submitted
25 May 2022 17:55:24 UTC
-
Target Location
Asana Android app -
Target category
Android
-
VRT
Server-Side Injection > Content Spoofing > Right-to-Left Override (RTLO)
-
Priority
P5
-
Bug URL
Empty
-
Description
-->CWE (Common Weakness Enumeration): CWE-451: User Interface Misrepresentation of Critical Information CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
-->CVSS Score: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
-->Observations/Impact: It was possible to perform RTLO Injection (Right To Left Override Injection). This technique takes advantage of \u202E, a non-printing Unicode character that causes the text that follows it to be displayed in reverse it is commonly used to disguise a string and/or file name and/or url to make it appear benign and to bypass security defences. The Android application fails to sanitize user input executing the RTLO character and parsing it as a url. This is a very dangerous behavior which may have serious consequences.
-->POC: Check the attached POC video.
-->Resources: https://attack.mitre.org/techniques/T1036/002/ https://nvd.nist.gov/vuln/detail/CVE-2020-20093 https://nvd.nist.gov/vuln/detail/CVE-2020-20094 https://nvd.nist.gov/vuln/detail/CVE-2020-20095 https://nvd.nist.gov/vuln/detail/CVE-2020-20096 https://nvd.nist.gov/vuln/detail/CVE-2022-28345
-->Notes: Attending to issue simplicity of execution, criticality and possible consequences, comparing it to all current know CVEs, as listed above, the VRT Category should be reevaluated and classified at least as P3.
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 could disguise a string, file name or URL to make it appear benign and to bypass security defences, which may have serious consequences.
What the attacker needed
Android app; user-supplied text containing RTLO
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.
Some Unicode characters do not print but change how text is displayed. One of them, the right-to-left override, makes everything after it appear backwards. If an app does not remove this character, a link or file name can look harmless while actually being something else, which can trick people into trusting it.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.