🔍 CVE-2007-0233

7.5
CVSS Score
HIGH
2007-01-13
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

WordPress 2.0.6 이전 버전의 wp-trackback.php에서 변수 초기화 오류로 인해 tb_id 파라미터를 통한 SQL 인젝션 공격이 가능했습니다. 공격자는 숫자 파라미터와 영숫자 파라미터의 해시값이 일치하도록 조작하여 임의의 SQL 명령을 실행할 수 있었습니다.

💡 쉬운 설명

WordPress 블로그의 트랙백 기능에서 입력값을 제대로 검증하지 않아 악의적인 쿼리를 데이터베이스에 직접 전송할 수 있었습니다. 공격자는 이를 통해 데이터베이스의 민감한 정보를 탈취하거나 조작할 수 있었습니다.

🇺🇸 원문 (English)

wp-trackback.php in WordPress 2.0.6 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 SQL commands via the tb_id 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 WordPress.

📍 영향받는 시스템

WordPress 2.0.6 이전 모든 버전

⚔️ 공격 벡터

POST 요청으로 tb_id 파라미터에 특수 조작된 값을 전송하여 SQL 인젝션 트리거

🛡️ 대응 방법

WordPress를 2.0.7 이상으로 업그레이드하거나 입력값 검증 및 변수 초기화 코드 패치 적용

🔧 검증 코드

WordPress 설치 경로의 wp-trackback.php 파일에서 tb_id 변수 처리 코드가 있으면 해당 버전 확인 필요

Shell / Script
grep -r 'tb_id' /path/to/wordpress/wp-trackback.php 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP