🔍 CVE-2025-8157

6.3
CVSS Score
MEDIUM
2025-07-25
2026-04-29 01:00
✅ 완료

🇰🇷 한글 설명

PHPGurukul User Registration & Login and User Management 버전 3.3에서 /admin/lastthirtyays-reg-users.php 파일의 ID 파라미터 검증 미흡으로 인한 SQL Injection 취약점입니다. 원격 공격자가 악의적인 SQL 쿼리를 주입하여 데이터베이스를 조작할 수 있습니다.

💡 쉬운 설명

사용자 ID를 입력받는 관리자 페이지에서 입력값을 검증하지 않아, 공격자가 특수 문자를 포함한 ID를 입력하면 데이터베이스를 조회하거나 변조할 수 있습니다. 로그인 없이 원격에서 공격할 수 있어 위험합니다.

🇺🇸 원문 (English)

A vulnerability was found in PHPGurukul User Registration & Login and User Management 3.3. It has been classified as critical. This affects an unknown part of the file /admin/lastthirtyays-reg-users.php. The manipulation of the argument ID leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

📍 영향받는 시스템

PHPGurukul User Registration & Login and User Management 3.3

⚔️ 공격 벡터

원격 비인증 공격: /admin/lastthirtyays-reg-users.php의 ID 파라미터에 SQL 쿼리 삽입

🛡️ 대응 방법

3.3.1 이상으로 업그레이드하거나 입력값 검증 및 Prepared Statement 사용으로 패치

🔧 검증 코드

SQL 쿼리 결과가 반환되거나 SQL 에러가 표시되면 취약점 존재; 차단된 메시지가 나타나면 패치된 상태

Shell / Script
curl -s 'http://target/admin/lastthirtyays-reg-users.php?id=1%20OR%201=1' | grep -i 'select\|union\|error' || echo 'Not vulnerable or SQL injection blocked'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP