🔍 CVE-2005-3496

4.3
CVSS Score
MEDIUM
2005-11-04
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

PHP Handicapper의 msg.php 파일 내 msg 파라미터에서 발생하는 교차 사이트 스크립팅(XSS) 취약점입니다. 원격 공격자가 임의의 웹 스크립트나 HTML을 주입하여 실행할 수 있습니다.

💡 쉬운 설명

웹사이트의 메시지 입력창에 가짜 코드를 넣어 다른 사용자의 화면을 조작하는 취약점입니다. 이를 통해 개인정보를 탈취하거나 잘못된 페이지를 보여줄 수 있습니다.

🇺🇸 원문 (English)

Cross-site scripting (XSS) vulnerability in PHP Handicapper allows remote attackers to inject arbitrary web script or HTML via the msg parameter to msg.php. NOTE: some sources identify a second vector in the login parameter to process_signup.php, but the original source says that it is for CRLF injection (CVE-2005-4712). Also note: the vendor has disputed CVE-2005-3497, and it is possible that the dispute was intended to include this issue as well. If so, followup investigation strongly suggests that the original report is correct.

📍 영향받는 시스템

PHP Handicapper

⚔️ 공격 벡터

msg.php의 msg 파라미터를 통한 악성 스크립트 주입

🛡️ 대응 방법

입력 데이터에 대한 HTML 엔티티 인코딩 적용 및 최신 보안 패치 업데이트

🔧 검증 코드

응답 결과에 입력한 스크립트가 필터링 없이 그대로 출력되면 취약한 상태입니다.

Shell / Script
curl -s 'http://localhost/msg.php?msg=<script>alert(1)</script>' | grep '<script>alert(1)</script>'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP