| Summary | The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0.x and other PHP 5 versions, calls php_rand_r with an uninitialized seed variable and therefore always generates the same initialization vector (IV), which might allow context-dependent attackers to decrypt certain data more easily because of the guessable encryption keys. |
|---|---|
| Summary | La función mcrypt_create_iv en ext/mcrypt/mcrypt.c en PHP anterior a 4.4.7, 5.2.1, y posiblemente 5.0.x y otras versiones PHP 5, llaman a php_rand_r con una variable de cabeza de serie no inicializada y por lo tanto siempre genera el mismo vector de inicialización (IV), lo cual podría permitir a atacantes dependientes del contexto desencriptar ciertos datos más fácilmente debido a que las claves de cifrado son más fáciles de adivinar. |
| Publication Date | May 17, 2007, 7:30 a.m. |
| Registration Date | Jan. 29, 2021, 2:13 p.m. |
| Last Update | April 23, 2026, 9:35 a.m. |
| CVSS2.0 : LOW | |
| Score | 2.6 |
|---|---|
| Vector | AV:N/AC:H/Au:N/C:P/I:N/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | なし |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 4.4.0 | 4.4.7 | |||
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.0.0 | 5.2.2 | |||
| cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:* | |||||
| Title | PHP の ext/mcrypt/mcyrpt.c における特定のデータを解読される脆弱性 |
|---|---|
| Summary | PHP の ext/mcrypt/mcyrpt.c の mcypt_create_iv 関数は、初期化してない seed 変数を伴う php_rand_r を呼び出し、いつも同じ初期化ベクタ (IV) を生成するため、特定のデータを解読される脆弱性が存在します。 |
| Possible impacts | 攻撃者により、予測可能な暗号鍵のため、特定のデータを解読される可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 16, 2007, midnight |
| Registration Date | Sept. 25, 2012, 4:47 p.m. |
| Last Update | Sept. 25, 2012, 4:47 p.m. |
| The PHP Group |
| PHP 4.4.7 未満、および 5.2.1以外の 5.0.x |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2012年09月25日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |