[high] mobsfscan (app): Activity is found to be vulnerable to StrandHogg 2.0 task hijacking vulnerability #850

Closed
opened 2026-11-04 16:32:35 +00:00 by pruefwerk · 1 comment
Member

high Finding

Scanner: mobsfscan
Severity: high
Rule: android_task_hijacking2
Variant: app
CWE: CWE-1021
CRA: cra-ai-1 — Secure-by-Default-Konfiguration (Annex I)

Description

Activity is found to be vulnerable to StrandHogg 2.0 task hijacking vulnerability. When vulnerable, it is possible for other applications to place a malicious activity on top of the activity stack of the vulnerable application. This makes the application an easy target for phishing attacks. The vulnerability can be remediated by setting the launch mode attribute to "singleInstance" and by setting an empty taskAffinity (taskAffinity=""). You can also update the target SDK version (19) of the app to 29 or higher to fix this issue at platform level.

OWASP MASVS: platform-1
Reference: https://github.com/OWASP/owasp-mastg/blob/master/Document/0x05a-Platform-Overview.md

Location

File: fixtures/nightly/mobile/android-insecure/app/src/main/AndroidManifest.xml (line 1)

Code

<?xml version="1.0" encoding="utf-8"?>

Remediation

Exclude fixture manifests from production Android triage.


Fingerprint: 965fa7659396fbe95563f2b863c76a4d7bacfa0fa01b0dbf0510f2749e0c7b68
Generated by compliance-scanner
Open in Prüfwerk / In Prüfwerk öffnen

## high Finding **Scanner:** mobsfscan **Severity:** high **Rule:** android_task_hijacking2 **Variant:** app **CWE:** CWE-1021 **CRA:** cra-ai-1 — Secure-by-Default-Konfiguration (Annex I) ### Description Activity is found to be vulnerable to StrandHogg 2.0 task hijacking vulnerability. When vulnerable, it is possible for other applications to place a malicious activity on top of the activity stack of the vulnerable application. This makes the application an easy target for phishing attacks. The vulnerability can be remediated by setting the launch mode attribute to "singleInstance" and by setting an empty taskAffinity (taskAffinity=""). You can also update the target SDK version (19) of the app to 29 or higher to fix this issue at platform level. OWASP MASVS: platform-1 Reference: https://github.com/OWASP/owasp-mastg/blob/master/Document/0x05a-Platform-Overview.md ### Location **File:** `fixtures/nightly/mobile/android-insecure/app/src/main/AndroidManifest.xml` (line 1) ### Code ``` <?xml version="1.0" encoding="utf-8"?> ``` ### Remediation Exclude fixture manifests from production Android triage. --- *Fingerprint:* `965fa7659396fbe95563f2b863c76a4d7bacfa0fa01b0dbf0510f2749e0c7b68` *Generated by compliance-scanner* [Open in Prüfwerk / In Prüfwerk öffnen](https://pruefwerk.breakpilot.com/findings?target=6ae9aa2160f5d8045fc570a7)
pruefwerk added the cra:annex-ipruefwerkseverity:high labels 2026-11-04 16:32:35 +00:00
Author
Member

Prüfwerk: Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind.

The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.

**Prüfwerk:** Die Datei liegt in Testdaten (z. B. fixtures/ oder testdata/), die von der Prüfung ausgenommen sind. The file lies in test data (such as fixtures/ or testdata/), which is left out of the scan.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#850