目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-648 特权API的不正确使用 类漏洞列表 61

CWE-648 特权API的不正确使用 类弱点 61 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-648 属于特权 API 误用漏洞,指程序未遵循高权限函数的调用规范。攻击者常利用此缺陷,通过构造异常调用或绕过权限检查,诱导系统执行特权操作,从而获取未授权访问或提升权限。开发者应避免此类问题,需严格验证输入参数,确保调用上下文符合 API 的安全假设,并实施最小权限原则,防止非特权主体非法调用敏感接口。

MITRE CWE 官方描述
CWE:CWE-648 特权 API 使用不当 英文:产品未遵循需要额外特权的函数调用的 API 要求。这可能导致攻击者通过错误地调用该函数来获取特权。 当产品包含某些执行需要提升特权级别的操作的函数时,特权 API 的调用者必须谨慎:确保 API 所做的假设是有效的,例如参数的有效性;考虑到 API 调用在设计/实现中的已知弱点;从安全上下文调用该 API。如果 API 的调用者不遵循这些要求,则可能允许恶意用户或进程提升其特权、劫持进程或窃取敏感数据。例如,了解特权 API 在返回给调用者之前是否未放弃其特权,或者特权函数是否对调用者传递给它的数据、上下文或状态信息做出某些假设,这一点很重要。始终了解何时以及如何调用特权 API 至关重要,以确保其提升的特权级别不会被利用。
常见影响 (3)
Access Control Gain Privileges or Assume Identity
An attacker may be able to elevate privileges.
Confidentiality Read Application Data
An attacker may be able to obtain sensitive information.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
An attacker may be able to execute code.
缓解措施 (5)
Implementation Before calling privileged APIs, always ensure that the assumptions made by the privileged code hold true prior to making the call.
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.
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.
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.
Implementation Only call privileged APIs from safe, consistent and expected state.
CVE ID 标题 CVSS 风险等级 Published
CVE-2019-3838 Artifex Software Ghostscript 访问控制错误漏洞 — ghostscript 5.5 - 2019-03-25

CWE-648(特权API的不正确使用) 是常见的弱点类别,本平台收录该类弱点关联的 61 条 CVE 漏洞。