🔍 CVE-2025-7155

7.3
CVSS Score
HIGH
2025-07-08
2026-04-29 01:00
✅ 완료

🇰🇷 한글 설명

PHPGurukul Online Notes Sharing System 1.0의 Dashboard 쿠키 핸들러에서 sessionid 인자에 대한 입력 검증 부재로 인한 SQL Injection 취약점입니다. 공격자가 악의적인 SQL 구문을 sessionid 파라미터에 주입하여 데이터베이스를 조작할 수 있습니다.

💡 쉬운 설명

웹 사이트의 로그인 정보(쿠키)에 악의적인 명령을 넣어서 데이터베이스의 민감한 정보를 빼낼 수 있는 공격입니다. 누구나 인터넷으로 원격에서 이 공격을 실행할 수 있습니다.

🇺🇸 원문 (English)

A vulnerability, which was classified as critical, was found in PHPGurukul Online Notes Sharing System 1.0. This affects an unknown part of the file /Dashboard of the component Cookie Handler. The manipulation of the argument sessionid leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The original researcher disclosure suspects an XPath Injection vulnerability; however, the provided attack payload appears to be characteristic of an SQL Injection attack.

📍 영향받는 시스템

PHPGurukul Online Notes Sharing System 1.0

⚔️ 공격 벡터

HTTP GET/POST 요청의 sessionid 쿠키 값에 SQL Injection 페이로드 주입 (원격 네트워크 접근 가능)

🛡️ 대응 방법

PHPGurukul을 최신 버전으로 업그레이드하거나, sessionid 쿠키 값에 대한 입력 검증 및 prepared statement 사용으로 SQL Injection 방지

🔧 검증 코드

응답에 SQL 에러나 비정상 동작이 나타나면 취약점 가능성 있음. 패치된 버전은 정상적인 오류 메시지나 로그인 페이지로 리다이렉트함.

Shell / Script
curl -s 'http://target/Dashboard' -b 'sessionid=1 OR 1=1' | grep -i 'error\|syntax' || echo 'Potentially vulnerable'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP