CWE一覧に戻る
CWE-432

機密操作中に危険なシグナルハンドラが無効化されない

Dangerous Signal Handler not Disabled During Sensitive Operations
脆弱性 レビュー中
JA

この製品は、他のシグナル・ハンドラと状態を共有するシグナル・ハンドラを使用していますが、元のシグナル・ハンドラがまだ実行されている間に、それらのシグナル・ハンドラが呼び出されるのを適切にマスクまたは防止していません。

シグナルハンドラの実行中に、別のシグナルが送られると、別のハンドラによって中断されることがある。2つのハンドラがグローバル変数などのステートを共有している場合、攻撃者は最初のハンドラが実行を完了する前に別のシグナルを送ることで、ステートを破壊することができます。

EN

The product uses a signal handler that shares state with other signal handlers, but it does not properly mask or prevent those signal handlers from being invoked while the original signal handler is still running.

During the execution of a signal handler, it can be interrupted by another handler when a different signal is sent. If the two handlers share state - such as global variables - then an attacker can corrupt the state by sending another signal before the first handler has completed execution.

Scope: Integrity / Impact: Modify Application Data
Turn off dangerous handlers when performing sensitive operations.
MITRE公式ページ — CWE-432