Skip to content

Vulnerability in OP-TEE Trusted OS

CVE-2022-46152 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

2022年11月に公表された、OP-TEE Trusted OSの配列インデックスの検証不備に関する脆弱性です。通常世界の攻撃者がSMC呼び出しを細工すると、範囲外の読み取りや偽のオブジェクトの解放が起こり、通常世界から安全な世界への権限昇格につながるおそれがあり、CVSSは8.2です。3.19.0より前の版が対象で、3.19.0で修正されています。回避策は確認されていないため、修正版へ更新してください。

What is the problem

OP-TEE Trusted OSにおける配列インデックスの不適切なバリデーションの脆弱性。

Affected scope

OP-TEE Trusted OSの3.19.0より前のバージョン。

Severity

アウトオブバウンズアクセスが可能になり、通常の世界から安全な世界への権限昇格が可能です。

How to fix

バージョン3.19.0にアップグレードすることで修正されます。

Workaround

既知のワークアラウンドはありません。

Detection

SMC呼び出しを監査し、不正なパラメータが使用されていないか確認する。

Original description The description as published by the source.

OP-TEE Trusted OS is the secure side implementation of OP-TEE project, a Trusted Execution Environment. Versions prior to 3.19.0, contain an Improper Validation of Array Index vulnerability. The function cleanup_shm_refs() is called by both entry_invoke_command() and entry_open_session(). The commands OPTEE_MSG_CMD_OPEN_SESSION and OPTEE_MSG_CMD_INVOKE_COMMAND can be executed from the normal world via an OP-TEE SMC. This function is not validating the num_params argument, which is only limited to OPTEE_MSG_MAX_NUM_PARAMS (127) in the function get_cmd_buffer(). Therefore, an attacker in the normal world can craft an SMC call that will cause out-of-bounds reading in cleanup_shm_refs and potentially freeing of fake-objects in the function mobj_put(). A normal-world attacker with permission to execute SMC instructions may exploit this flaw. Maintainers believe this problem permits local privilege escalation from the normal world to the secure world. Version 3.19.0 contains a fix for this issue. There are no known workarounds.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details