CVE-2025-36371

6.5 MEDIUM

📋 TL;DR

IBM i operating systems (versions 7.2-7.6) have an information disclosure vulnerability in the database plan cache implementation. Authenticated users with access to the plan cache can view unauthorized database information. This affects all IBM i systems running vulnerable versions.

💻 Affected Systems

Products:
  • IBM i
Versions: 7.2, 7.3, 7.4, 7.5, 7.6
Operating Systems: IBM i
Default Config Vulnerable: ⚠️ Yes
Notes: All IBM i systems running affected versions with database functionality enabled are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Privileged database information exposure including sensitive business data, PII, or credentials could lead to data breaches and regulatory violations.

🟠

Likely Case

Unauthorized viewing of database query plans and metadata, potentially revealing sensitive data structures and business logic.

🟢

If Mitigated

Limited exposure of non-critical database metadata with proper access controls and monitoring in place.

🌐 Internet-Facing: LOW - IBM i systems are typically internal enterprise systems, not directly internet-facing.
🏢 Internal Only: MEDIUM - Internal users with database access could exploit this to gain unauthorized information access.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Requires authenticated database user access to the plan cache. No public exploit code available as of analysis.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Apply IBM i PTF groups as specified in IBM advisory

Vendor Advisory: https://www.ibm.com/support/pages/node/7251699

Restart Required: Yes

Instructions:

1. Review IBM advisory for specific PTF requirements. 2. Apply required PTF groups for your IBM i version. 3. Restart the system as required by PTF installation.

🔧 Temporary Workarounds

Restrict Database Plan Cache Access

ibmi

Limit user access to database plan cache functionality through IBM i authority settings

Use IBM i authority management (WRKAUT, GRTOBJAUT, etc.) to restrict *USE authority to plan cache objects

🧯 If You Can't Patch

  • Implement strict access controls to limit which users can access database plan cache functionality
  • Monitor database plan cache access logs for suspicious activity and unauthorized access attempts

🔍 How to Verify

Check if Vulnerable:

Check IBM i version with DSPPTF command and compare against IBM advisory for missing PTFs

Check Version:

DSPPTF

Verify Fix Applied:

Verify PTF installation with WRKPTFGRP command and confirm all required PTF groups are applied

📡 Detection & Monitoring

Log Indicators:

  • Unusual database plan cache access patterns
  • Multiple failed plan cache access attempts
  • User accessing plan cache objects they shouldn't have authority for

Network Indicators:

  • Database connection attempts to plan cache from unauthorized users

SIEM Query:

source="ibm_i" AND (event_type="database_access" AND object="plan_cache*")

🔗 References

📤 Share & Export