🔍 CVE-2026-5635

6.3
CVSS Score
MEDIUM
2026-04-06
2026-07-24 09:10
✅ 완료

🇰🇷 한글 설명

PHPGurukul Online Shopping Portal 2.1의 /categorywise-products.php 파일에서 cid 파라미터가 적절히 검증되지 않아 SQL injection 공격이 가능합니다. 공격자는 악의적인 SQL 쿼리를 주입하여 데이터베이스에 무단으로 접근할 수 있으며, 이미 공개 익스플로잇이 존재하여 원격 공격에 즉시 악용될 위험이 있습니다.

💡 쉬운 설명

온라인 쇼핑몰 프로그램의 카테고리 검색 기능에서 입력값을 검증하지 않아, 공격자가 특수 문자를 섞어 보내면 데이터베이스의 정보를 빼낼 수 있는 취약점입니다. 이 취약점을 악용하는 도구가 이미 공개되어 있어 누구나 쉽게 공격할 수 있습니다.

🇺🇸 원문 (English)

A security flaw has been discovered in PHPGurukul Online Shopping Portal Project 2.1. Affected by this issue is some unknown functionality of the file /categorywise-products.php of the component Parameter Handler. The manipulation of the argument cid results in sql injection. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks.

📍 영향받는 시스템

PHPGurukul Online Shopping Portal Project v2.1

⚔️ 공격 벡터

GET/POST 요청의 cid 파라미터에 SQL 페이로드 주입 (예: /categorywise-products.php?cid=1' OR '1'='1)

🛡️ 대응 방법

입력값 검증 및 prepared statements 사용, cid 파라미터의 정수값 필터링, 데이터베이스 권한 최소화

🔧 검증 코드

curl 명령으로 대상 URL 접근 후 SQL 에러 메시지가 노출되면 취약하며, 에러가 없으면 에러 처리가 되어 있으므로 더 상세한 공격 테스트(시간 기반 blind SQL injection)가 필요합니다.

Shell / Script
curl -s 'http://target/categorywise-products.php?cid=1' 2>/dev/null | grep -i 'error\|sql\|mysql' && echo 'Vulnerable' || echo 'Check manually'

📊 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