Critical IBM AIX NIM Vulnerabilities (CVE-2025-36250, CVSS 10.0)

CVE-2025-36250 Remote Code Execution Private Key Exposure Directory Traversal
Overview
Multiple critical vulnerabilities in IBM AIX and VIOS systems—specifically within the NIM (Network Installation Manager) ecosystem—allow remote attackers to execute arbitrary commands, steal cryptographic private keys, or write arbitrary files via directory traversal. The most severe vulnerability (CVE-2025-36250) is rated CVSS 10.0, enabling full remote command execution on NIM servers.
Technical Specifications
| Attribute | Details |
|---|---|
| CVE IDs | CVE-2025-36250, CVE-2025-36251, CVE-2025-36096, CVE-2025-36236 |
| Vulnerability Types | RCE, Key Exposure, Directory Traversal |
| Attack Vector | Network (remote) |
| Authentication | Varies (several flaws exploitable without auth) |
| Complexity | Low |
| User Interaction | Not required |
| Affected Components | nimsh, nimesis, NIM key storage |
Affected Products
- AIX 7.2 (multiple TL/SP levels)
- AIX 7.3
- VIOS 3.1
- VIOS 4.1
-
Affected NIM-related filesets:
-
bos.sysmgt.nim.client bos.sysmgt.nim.masterbos.sysmgt.sysbr
Attack Scenarios
1. Remote Command Execution (nimesis / nimsh)
- Attacker sends crafted packets to exposed
nimshornimesisservices. - Exploits insecure process controls in SSL/TLS handling.
- Results in unauthenticated remote code execution (root).
2. NIM Private Key Theft
- AIX stores NIM private keys insecurely.
- MITM attacker can intercept or extract keys.
- Enables impersonation of hosts, malicious OS deployments, and long-term persistence.
3. Directory Traversal (Arbitrary File Write)
- Specially crafted URL allows writing arbitrary files.
- Can plant backdoors, replace system binaries, or alter configuration.
Impact Assessment
- Unauthorized OS provisioning
- Malicious modification of system files
- Backdoor insertion
- Tampering with AIX/VIOS infrastructure
- Theft of NIM private keys
- Exposure of deployment architecture
- Credential compromise
- Ability to impersonate legitimate nodes
- Remote service disruption
- Possible destruction of NIM repository
- System instability or forced reinstallation
- Denial of service via malformed network packets
- Lateral movement into management networks
- Compromise of VIOS / SAN pathways
- Root-level access to AIX systems
- Full takeover of provisioning and deployment workflows
Mitigation Strategies
:material-security-update: Apply IBM Patches
-
Install all APARs released for:
-
AIX 7.2 / 7.3
- VIOS 3.1 / 4.1
- This is the only complete fix.
Network Hardening
- Restrict access to NIM services using ACLs/firewalls
- Segregate NIM and management networks
- Block external access to
nimsh/nimesisports - Avoid exposing AIX NIM services across untrusted networks
Credential & Key Protection
- Rotate NIM private keys after patching
- Enforce strict TLS configurations
- Monitor for unauthorized certificate use
Monitoring & Detection
- Deploy IDS/IPS signatures for NIM protocol anomalies
- Alert on suspicious nimsh traffic
- Log and audit provisioning operations
- Detect unexpected file writes or package deployments
Long-term Strategy
- Strengthen AIX management architecture
- Ensure NIM servers remain isolated
- Conduct periodic credential audits
- Train sysadmins on NIM-related security risks
Technical Recommendations
Immediate Actions
- Patch all vulnerable AIX/VIOS systems
- Rotate NIM private keys
- Isolate the NIM server from non-admin networks
- Block unnecessary network exposure
- Conduct compromise assessment
Short-term Measures
- Implement firewall rules and VLAN segmentation
- Enable enhanced auditing for NIM operations
- Monitor TLS handshake anomalies
- Review deployment logs for tampered LPAR images
Long-term Strategy
- Harden management networks
- Standardize NIM security procedures
- Replace outdated VIOS/AIX TL levels
- Train teams on secure provisioning practices
Resources and References
Official Documentation
Critical Warning
These vulnerabilities include a CVSS 10.0 RCE. If NIM services are exposed on the network without patching, attackers can gain full remote root access.
Emergency Response
If exploitation is suspected:
- Isolate the NIM server immediately
- Rotate all NIM private keys
- Inspect deployment logs and file integrity
- Reinstall or verify LPAR images
- Apply APARs before reconnecting