🔍 CVE-2025-40693

5.4
CVSS Score
MEDIUM
2025-09-11
2026-09-30 23:10
✅ 완료

🇰🇷 한글 설명

PHPGurukul의 Online Fire Reporting System v1.2에서 발생하는 저장형 및 반사형 XSS 취약점입니다. '/ofrs/admin/edit-team.php' 엔드포인트의 특정 매개변수들에 대한 입력값 검증이 미흡하여, 인증된 사용자의 세션 쿠키를 탈취할 수 있습니다.

💡 쉬운 설명

해커가 악성 코드가 담긴 링크나 데이터를 시스템에 저장하여 관리자의 정보를 훔칠 수 있는 보안 약점입니다. 관리자가 해당 페이지를 확인하는 순간, 관리자의 로그인 정보가 해커에게 넘어갈 수 있습니다.

🇺🇸 원문 (English)

Stored Cross Site Scripting in Online Fire Reporting System v1.2 by PHPGurukul, that consists in a reflected and stored authenticated XSS due to the lack of propper validation of user inputs 'tname' parameter via GET and, 'teamleadname', 'teammember' and 'teamname' parameters via POST at the endpoint '/ofrs/admin/edit-team.php'. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal its cookie session details.

📍 영향받는 시스템

PHPGurukul Online Fire Reporting System v1.2

⚔️ 공격 벡터

GET 및 POST 요청을 통해 조작된 매개변수('tname', 'teamleadname', 'teammember', 'teamname')를 전송

🛡️ 대응 방법

입력값에 대한 엄격한 필터링 및 출력 시 HTML 엔티티 인코딩을 적용하여 XSS 방어 로직 구현

🔧 검증 코드

해당 엔드포인트에서 취약한 매개변수들이 포함되어 있는지 확인하여 공격 가능성을 검토합니다.

Shell / Script
curl -s http://<target_ip>/ofrs/admin/edit-team.php | grep -E 'tname|teamleadname|teammember|teamname'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP