🔍 CVE-2012-2317

4.3
CVSS Score
MEDIUM
2012-08-07
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

Debian PHP crypt 패치에서 빈 salt 문자열을 제대로 처리하지 못하여 password hashing 보안이 약화되는 취약점입니다. PHP crypt 함수에 의존하는 애플리케이션에서 원격 공격자가 인증을 우회할 수 있습니다.

💡 쉬운 설명

PHP의 비밀번호 암호화 함수가 빈 입력값을 처리할 때 버그가 발생합니다. 이를 악용하면 올바른 암호 없이도 시스템에 로그인할 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Debian squeeze (php5 < 5.3.3-7+squeeze4), Ubuntu 10.04 LTS (php5 < 5.3.2-1ubuntu4.17), Ubuntu 11.04 (php5 < 5.3.5-1ubuntu7.10)

⚔️ 공격 벡터

빈 salt로 인한 예측 가능한 crypt 해시값 생성으로 비밀번호 검증 로직 우회

🛡️ 대응 방법

영향받는 Debian/Ubuntu 배포판에서 권장 버전 이상으로 php5 패키지 업데이트

🔧 검증 코드

설치된 php5 버전을 확인하고 배포판별 최소 권장 버전(squeeze: 5.3.3-7+squeeze4, 10.04: 5.3.2-1ubuntu4.17, 11.04: 5.3.5-1ubuntu7.10) 이상인지 검증

Shell / Script
dpkg -l php5 2>/dev/null | grep php5

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

💻 영향받는 소프트웨어

PHP