Drupal における任意の PHP コードを実行される脆弱性
| Title |
Drupal における任意の PHP コードを実行される脆弱性
|
| Summary |
Drupal は、alphanumeric パラメータのハッシュ値と一致する値を伴う numeric パラメータを含むデータを入力している際、変数のビットを適切に設定解除しないため、任意の PHP コードを実行される脆弱性が存在します。 本脆弱性は、PHP コマンドの設定解除バグ (CVE-2006-3017) に起因し、PHPにて修正されるべきてあるという意見があり、その場合は Drupal の脆弱性ではありません。
|
| Possible impacts |
第三者により、デフォルト URI への callback パラメータを介する drupal_eval 関数を呼び出されることで、任意の PHP コードを実行される可能性があります。 |
| Solution |
ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
Oct. 12, 2007, midnight |
| Registration Date |
June 26, 2012, 3:54 p.m. |
| Last Update |
June 26, 2012, 3:54 p.m. |
|
CVSS2.0 : 警告
|
| Score |
6.8
|
| Vector |
AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected System
| Drupal |
|
Drupal 5.2 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 0 |
[2012年06月26日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |
NVD Vulnerability Information
CVE-2007-5416
| Summary |
Drupal 5.2 and earlier does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by invoking the drupal_eval function through a callback parameter to the default URI, as demonstrated by the _menu[callbacks][1][callback] parameter. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in Drupal.
|
| Summary |
Drupal 5.2 y versiones anteriores no des-asigna el valor de las variables apropiadamente cuando los datos de entrada incluyen un parámetro numérico con un valor que casa con un valor resumen de un parámetro alfanumérico, lo cual permite a atacantes remotos ejecutar código PHP de su elección al invocar la función drupal_eval a través de un parámetro de llamada inversa (callback) a el URI por defecto, como se demuestra con el parámetro _menu[callbacks][1][callback]. NOTA: se podría discutir que esta vulnerabilidad se debe a un error de programación en el comando PHP unset (CVE-2006-3017) y el parche apropiado que debería estar en PHP; de ser así, este asunto no debería ser tratado como vulnerabilidad en Drupal.
|
| Publication Date |
Oct. 13, 2007, 6:17 a.m. |
| Registration Date |
Jan. 29, 2021, 2:21 p.m. |
| Last Update |
April 23, 2026, 9:35 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
|
5.2 |
|
|
Related information, measures and tools
Common Vulnerabilities List