Android security tags, read closely by Lightrion

CVE-2024-43765 AI-generated analysis

platform/packages/apps/DocumentsUI, BaseActivity and picker/ConfirmFragment (document picker UI)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (5 corrections). Verify against the commit before relying on it.

DocumentsUI now declares android.permission.HIDE_OVERLAY_WINDOWS and calls Window.setHideOverlayWindows(true) on every BaseActivity window and on the ConfirmFragment dialog window (on S+), so non-system overlay windows are hidden over the picker UI.

Root cause

The DocumentsUI activities derived from BaseActivity and the ConfirmFragment overwrite/open-tree confirmation dialog did not ask the system to hide non-system overlay windows. Other apps' overlay windows could therefore be drawn on top of the picker and its confirmation dialog. The commit describes this as enabling a clickjacking attack. The manifest also did not declare the HIDE_OVERLAY_WINDOWS permission, which the fix adds alongside the setHideOverlayWindows calls.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to January 2025 · Findings