Skip to content
OpenAdvisories

Weakness (CWE)

CWE-648: Incorrect Use of Privileged APIs

Base Incomplete

The product does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly.

More detail

When a product contains certain functions that perform operations requiring an elevated level of privilege, the caller of a privileged API must be careful to:

- ensure that assumptions made by the APIs are valid, such as validity of arguments

- account for known weaknesses in the design/implementation of the API

- call the API from a safe context

If the caller of the API does not follow these requirements, then it may allow a malicious user or process to elevate their privilege, hijack the process, or steal sensitive data.

For instance, it is important to know if privileged APIs do not shed their privileges before returning to the caller or if the privileged function might make certain assumptions about the data, context or state information passed to it by the caller. It is important to always know when and how privileged APIs can be called in order to ensure that their elevated level of privilege cannot be exploited.

How to prevent it (6 mitigations)
  1. Implementation

    Before calling privileged APIs, always ensure that the assumptions made by the privileged code hold true prior to making the call.

  2. Architecture and Design

    Know architecture and implementation weaknesses of the privileged APIs and make sure to account for these weaknesses before calling the privileged APIs to ensure that they can be called safely.

  3. Implementation

    If privileged APIs make certain assumptions about data, context or state validity that are passed by the caller, the calling code must ensure that these assumptions have been validated prior to making the call.

  4. Implementation

    If privileged APIs do not shed their privilege prior to returning to the calling code, then calling code needs to shed these privileges immediately and safely right after the call to the privileged APIs. In particular, the calling code needs to ensure that a privileged thread of execution will never be returned to the user or made available to user-controlled processes.

  5. Implementation

    Only call privileged APIs from safe, consistent and expected state.

  6. Implementation

    Ensure that a failure or an error will not leave a system in a state where privileges are not properly shed and privilege escalation is possible (i.e. fail securely with regards to handling of privileges).

Source: MITRE CWE-648

14 results · Clear filters · Feed

  • Medium 6.3

    Missing Authorization Vulnerability in OpenText Access Manager

    An unauthorized user can modify configuration through API calls that affects the OpenText Access Manager. This issue affects Access Manager before 5.1.3.

  • Medium 5.4
    CVE-2026-20122 Exploited EPSS 26%

    Cisco Catalyst SD-WAN Manager Arbitrary File Overwrite Vulnerability

    A vulnerability in the API of Cisco Catalyst SD-WAN Manager could allow an authenticated, remote attacker to overwrite arbitrary files on the local file system. To exploit this vulnerability, the attacker must have valid read-only credentials with API access …

    KEV Apr 20, 2026
  • Medium 6.5

    Apache Airflow: Airflow externalLogUrl Permission Bypass

    Apache Airflow versions 3.1.0 through 3.1.6 contain an authorization flaw that can allow an authenticated user with custom permissions limited to task access to view task logs without having task log access. Users are recommended to upgrade to Apache Airflow …

  • Medium 5.4

    When processing API requests, the Alteryx server 2022.1.1.42654 and 2024.1 used MongoDB object IDs to uniquely identify…

  • Medium 5.3

    KL-001-2025-015: Xorux LPAR2RRD Read Only User Log Download Exposing Sensitive Information

    An API endpoint that should be limited to web application administrators is hidden from, but accessible by, lower-level read only web application users. The endpoint can be used to download logs from the appliance configuration, exposing sensitive information.

  • Medium 6.5

    KL-001-2025-014: Xorux LPAR2RRD Read Only User Denial of Service

    An authenticated, read-only user can kill any processes running on the Xormon Original virtual appliance as the lpar2rrd user.

  • Medium 5.3
    CVE-2025-54765 EPSS 10%

    KL-001-2025-013: Xorux XorMon-NG Web Application Privilege Escalation to Administrator

    An API endpoint that should be limited to web application administrators is hidden from, but accessible by, lower-level read only web application users. The endpoint can be used to import the appliance configuration, allowing an attacker to control the config…

  • Medium 5.3
    CVE-2025-54766 EPSS 10%

    KL-001-2025-012: Xorux XorMon-NG Read Only User Export Device Configuration Exposing Sensitive Information

    An API endpoint that should be limited to web application administrators is hidden from, but accessible by, lower-level read only web application users. The endpoint can be used to export the appliance configuration, exposing sensitive information.

  • Medium 6.9

    In affected versions of Octopus Deploy where customers are using Active Directory for authentication it was possible fo…

  • Medium 6.4

    Bentley Systems ProjectWise Integration Server before 10.00.03.288 allows unintended SQL query execution by an authenti…

  • Medium 6.5

    Missing checks for notification filter preferences editions in XWiki Platform

    XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible for any user knowing the ID of a notification filter preference of another user, to enable/disable it or even delete it. The impact is that …

  • Medium 4.3

    A vulnerability in the OpenAPI of Cisco Secure Workload could allow an authenticated, remote attacker with the privileg…

  • Medium 4.3

    A vulnerability in the web-based management interface of Cisco Identity Services Engine could allow an authenticated, r…

  • Medium 6.8

    Incorrect Use of Privileged APIs in org.xwiki.platform.skin.skinx

    XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Simple users can create global SSX/JSX without specific rights: in theory only users with Programming Rights should be allowed to create SSX or JSX that a…