NVD Vulnerability Detail
Search Exploit, PoC
CVE-2012-2317
Summary

The Debian php_crypt_revamped.patch patch for PHP 5.3.x, as used in the php5 package before 5.3.3-7+squeeze4 in Debian GNU/Linux squeeze, the php5 package before 5.3.2-1ubuntu4.17 in Ubuntu 10.04 LTS, and the php5 package before 5.3.5-1ubuntu7.10 in Ubuntu 11.04, does not properly handle an empty salt string, which might allow remote attackers to bypass authentication by leveraging an application that relies on the PHP crypt function to choose a salt for password hashing.

Publication Date Aug. 8, 2012, 4:55 a.m.
Registration Date Jan. 28, 2021, 2:57 p.m.
Last Update Nov. 21, 2024, 10:38 a.m.
CVSS2.0 : MEDIUM
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:debian:php5-common:5.3.3-7\+squeeze4:*:*:*:*:*:*:*
cpe:2.3:a:debian:php5-common:*:*:*:*:*:*:*:* 5.3.2-1
cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:canonical:php5:5.3.2-1ubuntu4.17:*:*:*:*:*:*:*
cpe:2.3:a:canonical:php5:*:*:*:*:*:*:*:* 5.3.2-1ubuntu4.16
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:canonical:php5:5.3.5-1ubuntu7.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:*
cpe:2.3:a:canonical:php5:*:*:*:*:*:*:*:* 5.3.5-1ubuntu7.9
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
複数の Linux ディストリビューションで使用されている php5 パッケージにおける認証を回避される脆弱性
Title 複数の Linux ディストリビューションで使用されている php5 パッケージにおける認証を回避される脆弱性
Summary

PHP 5.3.x 向けの Debian php_crypt_revamped.patch パッチを使用する php5 パッケージは、空の salt 文字列を適切に処理しないため、認証を回避される脆弱性が存在します。

Possible impacts 第三者により、パスワードのハッシュ化に salt を使用している PHP の crypt 関数を用いているアプリケーションを悪用されることで、認証を回避される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 7, 2012, midnight
Registration Date Aug. 9, 2012, 4:55 p.m.
Last Update Aug. 9, 2012, 4:55 p.m.
Affected System
Debian
php5 パッケージ 5.3.3-7+squeeze4 未満 (Debian GNU/Linux squeeze)
php5 パッケージ 5.3.6-1 未満 (Debian)
Canonical
php5 パッケージ 5.3.2-1ubuntu4.17 未満 (Ubuntu 10.04 LTS)
php5 パッケージ 5.3.5-1ubuntu7.10 未満 (Ubuntu 11.04)
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年08月09日]
  掲載
Feb. 17, 2018, 10:37 a.m.