| Summary | Double free vulnerability in the session extension in PHP 5.2.0 and 5.2.1 allows context-dependent attackers to execute arbitrary code via illegal characters in a session identifier, which is rejected by an internal session storage module, which calls the session identifier generator with an improper environment, leading to code execution when the generator is interrupted, as demonstrated by triggering a memory limit violation or certain PHP errors. |
|---|---|
| Summary | Vulnerabilidad de liberación doble en la extensión session de PHP 5.2.0 and 5.2.1 permite a atacantes dependientes del contexto ejecutar código de su elección mediante caracteres ilegales en el identificador de sesión, lo cual es rechazado por el módulo de almacenamiento de sesión interno, lo cual llama al generador de identificador de sesión en un contexto inapropiado, dando la posibilidad de la inyección de código cuando el generador es interrumpido, como ha sido demostrado lanzando una violación de límite de memoria o ciertos errores de PHP. |
| Publication Date | March 21, 2007, 5:19 a.m. |
| Registration Date | Jan. 29, 2021, 2:09 p.m. |
| Last Update | April 23, 2026, 9:35 a.m. |
| CVSS2.0 : MEDIUM | |
| Score | 6.8 |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| 攻撃元区分(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:5.2.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:* | |||||
| Title | PHP のセッションエクステンションにおけるメモリ二重解放の脆弱性 |
|---|---|
| Summary | PHP のセッションエクステンションは、メモリを二重に解放する不備があるため、任意のコードを実行される脆弱性が存在します。 |
| Possible impacts | 攻撃者により、セッション識別子ジェネレータを不適切な環境で呼び出す内部セッション格納モジュールが拒否するセッション識別子内の不正な文字を介して、ジェネレータが割り込まれた際にコード実行を誘発され、任意のコードを実行される可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | March 15, 2007, midnight |
| Registration Date | Sept. 25, 2012, 4:47 p.m. |
| Last Update | Sept. 25, 2012, 4:47 p.m. |
| The PHP Group |
| PHP 5.2.0 および 5.2.1 |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2012年09月25日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |