🔍 CVE-2025-7165

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

🇰🇷 한글 설명

PHPGurukul Campcodes 사이버 카페 관리 시스템의 forgot-password.php 파일에서 email 매개변수에 대한 입력 검증 부족으로 SQL injection 취약점이 존재합니다. 원격 공격자는 조작된 email 값을 통해 데이터베이스 쿼리를 실행하여 민감한 정보 탈취나 시스템 조작이 가능합니다.

💡 쉬운 설명

비밀번호 찾기 페이지의 이메일 입력란에 특수 문자를 삽입하면 데이터베이스에 직접 접근할 수 있습니다. 이를 악용하면 회원정보, 관리자 계정 등 모든 데이터를 탈취할 수 있습니다.

🇺🇸 원문 (English)

A vulnerability was found in PHPGurukul/Campcodes Cyber Cafe Management System 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /forgot-password.php. The manipulation of the argument email leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

📍 영향받는 시스템

PHPGurukul Campcodes Cyber Cafe Management System 1.0

⚔️ 공격 벡터

/forgot-password.php의 email 파라미터에 SQL injection 페이로드 입력 (예: admin' OR '1'='1)

🛡️ 대응 방법

Prepared statement 또는 parameterized query 사용, 입력값 화이트리스트 검증, WAF 설정

🔧 검증 코드

SQL 쿼리에 직접 연결된 GET 파라미터가 보이면 취약점 존재, prepared statement 사용 여부 확인 필요

Shell / Script
grep -r "\$_GET\[.*email" /var/www/html/forgot-password.php 2>/dev/null | head -1

📊 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