Common Weakness Enumeration

CWE-278

Allowed

Insecure Preserved Inherited Permissions

Abstraction: Variant · Status: Incomplete

A product inherits a set of insecure permissions for an object, e.g. when copying from an archive file, without user awareness or involvement.

11 vulnerabilities reference this CWE, most recent first.

GHSA-M92C-Q898-572X

Vulnerability from github – Published: 2025-04-17 18:31 – Updated: 2025-07-17 21:32
VLAI
Details

IBM i 7.6 

contains a privilege escalation vulnerability due to incorrect profile swapping in an OS command.  A malicious actor can use the command to elevate privileges to gain root access to the host operating system.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-2947"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-278"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-04-17T17:15:33Z",
    "severity": "HIGH"
  },
  "details": "IBM i 7.6\u00a0\n\ncontains a privilege escalation vulnerability due to incorrect profile swapping in an OS command. \u00a0A malicious actor can use the command to elevate privileges to gain root access to the host operating system.",
  "id": "GHSA-m92c-q898-572x",
  "modified": "2025-07-17T21:32:04Z",
  "published": "2025-04-17T18:31:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2947"
    },
    {
      "type": "WEB",
      "url": "https://www.ibm.com/support/pages/node/7231025"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

Mitigation MIT-1
Architecture and Design Operation

Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.

Mitigation MIT-46
Architecture and Design

Strategy: Separation of Privilege

  • Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

No CAPEC attack patterns related to this CWE.