🔍 CVE-2025-6126

4.3
CVSS Score
MEDIUM
2025-06-16
2026-04-29 01:00
✅ 완료

🇰🇷 한글 설명

PHPGurukul Rail Pass Management System 1.0의 /contact.php 파일에서 Name 파라미터에 대한 부적절한 입력 검증으로 인한 XSS 취약점입니다. 원격 공격자가 악의적인 JavaScript 코드를 삽입하여 사용자의 브라우저에서 실행되게 할 수 있으며, 이미 공개된 취약점입니다.

💡 쉬운 설명

연락처 양식의 이름 입력란에 악의적인 코드를 입력하면 다른 사용자들의 브라우저에서 자동으로 실행됩니다. 공격자는 이를 통해 세션 정보 탈취, 피싱, 또는 악성 소프트웨어 배포를 수행할 수 있습니다.

🇺🇸 원문 (English)

A vulnerability was found in PHPGurukul Rail Pass Management System 1.0. It has been declared as problematic. Affected by this vulnerability is an unknown functionality of the file /contact.php. The manipulation of the argument Name leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

📍 영향받는 시스템

PHPGurukul Rail Pass Management System 1.0 이하

⚔️ 공격 벡터

/contact.php의 Name 파라미터에 XSS 페이로드(예: <script>alert('XSS')</script>) 입력 후 제출

🛡️ 대응 방법

최신 버전으로 업그레이드하거나, 입력값에 대한 검증(필터링) 및 출력 시 HTML 엔티티 인코딩 적용

🔧 검증 코드

명령어가 contact.php를 찾고 버전이 1.0으로 나타나면 취약한 상태이며, 즉시 시스템 업그레이드 또는 패치 적용이 필요합니다.

Shell / Script
find / -name 'contact.php' -path '*rail*' 2>/dev/null | head -1 && grep -r 'version.*1\.0' /var/www/html 2>/dev/null | grep -i rail

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

💻 영향받는 소프트웨어

PHP