CVE-2023-31349
📋 TL;DR
Incorrect default permissions in AMD μProf installation directory allow local attackers to modify files, potentially leading to privilege escalation and arbitrary code execution. This affects systems with AMD μProf installed, particularly where multiple users have access.
💻 Affected Systems
- AMD μProf
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Attacker gains SYSTEM/root privileges and executes arbitrary code with full system control
Likely Case
Local authenticated user escalates privileges to install malware, access sensitive data, or modify system configurations
If Mitigated
Attack prevented through proper file permissions and user access controls
🎯 Exploit Status
Requires local authenticated access; exploitation involves modifying files in the installation directory
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Update to latest version as specified in AMD advisory
Vendor Advisory: https://www.amd.com/en/corporate/product-security/bulletin/amd-sb-9001
Restart Required: Yes
Instructions:
1. Download latest AMD μProf version from AMD website. 2. Uninstall current version. 3. Install updated version. 4. Restart system.
🔧 Temporary Workarounds
Restrict installation directory permissions
allManually set proper file permissions on AMD μProf installation directory
Windows: icacls "C:\Program Files\AMD\μProf" /inheritance:r /grant:r "SYSTEM:(OI)(CI)F" "Administrators:(OI)(CI)F" "Users:(OI)(CI)RX"
Linux: chmod 755 /opt/amd/μprof && chown root:root /opt/amd/μprof -R
🧯 If You Can't Patch
- Remove AMD μProf from systems where it's not essential
- Implement strict access controls and monitor for unauthorized file modifications in the installation directory
🔍 How to Verify
Check if Vulnerable:
Check if AMD μProf is installed and review installation directory permissions for excessive write access
Check Version:
Windows: μProf --version or check in Programs and Features; Linux: μprof --version
Verify Fix Applied:
Verify updated version is installed and installation directory has proper restrictive permissions
📡 Detection & Monitoring
Log Indicators:
- File modification events in AMD μProf installation directory
- Unexpected privilege escalation attempts
Network Indicators:
- None - local attack only
SIEM Query:
EventID=4663 OR EventID=4656 AND ObjectName contains "AMD\\μProf" AND AccessMask contains "WRITE"