CWE一覧に戻る
CWE-749

暴露された危険な方法または機能

Exposed Dangerous Method or Function
脆弱性 作成中
JA

製品は、外部アクターとの相互作用のために、アプリケーション・プログラミング・インターフェース(API)または同様のインターフェースを提供するが、そのインターフェースには、適切に制限されていない危険なメソッドまたは関数が含まれている。

この弱点は、公開されたメソッドの動作によって、結果として様々な弱点につながる可能性がある。これは、ActiveX コントロール、Java 関数、IOCTL など、いくつもの技術やアプローチに適用できる。

暴露は、いくつかの異なる方法で起こり得る:

EN

The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.

This weakness can lead to a wide variety of resultant weaknesses, depending on the behavior of the exposed method. It can apply to any number of technologies and approaches, such as ActiveX controls, Java functions, IOCTLs, and so on.

The exposure can occur in a few different ways:

Scope: Integrity, Confidentiality, Availability, Access Control, Other / Impact: Gain Privileges or Assume Identity; Read Application Data; Modify Application Data; Execute Unauthorized Code or Commands; Other
If you must expose a method, make sure to perform input validation on all arguments, limit access to authorized parties, and protect against all possible vulnerabilities.
Identify all exposed functionality. Explicitly list all functionality that must be exposed to some user or set of users. Identify which functionality may be:

Ensure that the implemented code follows these expectations. This includes setting the appropriate access modifiers where applicable (public, private, protected, etc.) or not marking ActiveX controls safe-for-scripting.
MITRE公式ページ — CWE-749