CVE-2024-40657: AccountTypePreferenceLoader - Privilege Escalation
- Cve: CVE-2024-40657
- Name: AccountTypePreferenceLoader - Privilege Escalation
- Description: In addPreferencesForType of AccountTypePreferenceLoader.java, there is a possible way to disable apps for other users due to a confused deputy. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
- Impact: Local privilege escalation allowing attackers to disable apps for other users without additional privileges.
- Remediation: Review and fix the confused deputy issue in addPreferencesForType method to prevent privilege escalation.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00079
- Epss percentile: 0.00123
- Assignee: [email protected]
- Published at: 2024-09-11T00:15:11Z
- Age in days: 804
- Modified at: 2026-06-17T07:46:15Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-40657
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
| CWE-269 | Improper Privilege Management |
References
| Url | Source | Tags |
|---|---|---|
| https://source.android.com/security/bulletin/2024-09-01 | nvd | Patch, Vendor Advisory |
| https://android.googlesource.com/platform/packages/apps/Settings/+/8261e0ade3b414fea61d7fe9d8bc6df7a3fc8603 | nvd | Mailing List, Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:android | = 14.0, = 13.0, = 12.1, = 12.0 | no | nvd | /v1/products/google/android |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 239
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports