🔍 CVE-2007-4507

6.8
CVSS Score
MEDIUM
2007-08-23
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

PHP 5.2.3의 php_ntuser 컴포넌트에 존재하는 버퍼 오버플로우 취약점으로, ntuser_getuserlist, ntuser_getuserinfo, ntuser_getusergroups, ntuser_getdomaincontroller 함수에 긴 인자를 전달하여 발생합니다. 이를 통해 서비스 거부 또는 임의 코드 실행이 가능합니다.

💡 쉬운 설명

PHP의 특정 함수들이 너무 많은 데이터를 받으면 프로그램이 충돌하거나 해킹될 수 있는 문제입니다. 이 문제는 PHP 5.2.3 버전에만 있습니다.

🇺🇸 원문 (English)

Multiple buffer overflows in the php_ntuser component for PHP 5.2.3 allow context-dependent attackers to cause a denial of service or execute arbitrary code via long arguments to the (1) ntuser_getuserlist, (2) ntuser_getuserinfo, (3) ntuser_getusergroups, or (4) ntuser_getdomaincontroller functions.

📍 영향받는 시스템

PHP 5.2.3 (php_ntuser 확장)

⚔️ 공격 벡터

원격 공격자가 context-dependent하게 ntuser 함수들에 buffer overflow를 유발하는 긴 인자 전송

🛡️ 대응 방법

PHP를 5.2.4 이상으로 업그레이드하거나 php_ntuser 확장 제거

🔧 검증 코드

PHP 버전이 5.2.0~5.2.3에 해당하면 취약함(결과 출력), 그 외 버전이면 안전함(결과 없음)

Shell / Script
php -v | grep -E '5\.2\.[0-3]'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP