🔍 CVE-2005-4226

7.5
CVSS Score
HIGH
2005-12-14
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

phpWebThings 1.4의 여러 웹 스크립트(download.php, forum.php, forum_edit.php, forum_write.php, guestbook.php, index.php, myaccount.php)에서 발견된 다중 SQL injection 취약점으로, 원격 공격자가 입력 매개변수 조작을 통해 임의의 SQL 명령어를 실행할 수 있습니다. 공격자는 이를 통해 데이터베이스의 데이터를 탈취하거나 변조할 수 있습니다.

💡 쉬운 설명

웹 애플리케이션이 사용자가 입력한 데이터를 제대로 검증하지 않아, 공격자가 데이터베이스에 악의적인 명령어를 직접 주입할 수 있습니다. 이를 통해 개인정보 유출이나 시스템 손상이 발생할 수 있습니다.

🇺🇸 원문 (English)

Multiple "potential" SQL injection vulnerabilities in phpWebThings 1.4 Patched might allow remote attackers to execute arbitrary SQL commands via (1) the ref parameter in download.php, (2) the direction, msg, sforum, reason, subname, and toform parameters in forum.php, (3) the msg and forum parameters in forum_edit.php, (4) the msg and forum parameters in forum_write.php, (5) the tekst parameter in guestbook.php, (6) the menuoption parameter in index.php, and the (7) sel_avatar parameter in myaccount.php. NOTE: the forum.php/forum vector is already identified by CVE-2005-3585.

📍 영향받는 시스템

phpWebThings 1.4 Patched

⚔️ 공격 벡터

공격자가 download.php의 ref, forum.php의 direction/msg/sforum/reason/subname/toform, forum_edit.php의 msg/forum, forum_write.php의 msg/forum, guestbook.php의 tekst, index.php의 menuoption, myaccount.php의 sel_avatar 매개변수에 SQL 코드 주입

🛡️ 대응 방법

phpWebThings를 보안 패치가 적용된 최신 버전으로 업그레이드하고, 모든 사용자 입력에 대해 매개변수화된 쿼리(prepared statements) 또는 입력 검증(input sanitization) 적용

🔧 검증 코드

명령어가 phpWebThings 파일 경로를 반환하면 해당 시스템에 설치되어 있으며, 버전 1.4인 경우 즉시 패치 또는 업그레이드가 필요합니다. 결과가 없으면 해당 애플리케이션이 설치되어 있지 않은 상태입니다.

Shell / Script
find / -type f \( -name 'download.php' -o -name 'forum.php' -o -name 'guestbook.php' \) 2>/dev/null | grep -i phpwebthings | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP