Sourcecodester Online Job Portal phppdo version 1.0
GET 요청의 category 파라미터에 SQL 문법 삽입 (예: ?category=1' OR '1'='1 --)
Prepared statements/parameterized queries 사용, 입력값 화이트리스트 검증, ORM 프레임워크 도입, SQL 입력값 이스케이프 처리
응답에 SQL 에러 메시지가 포함되면 SQL Injection에 취약할 가능성이 높습니다. 실제 데이터 추출 여부는 더 정교한 페이로드로 검증이 필요합니다.
curl -s 'http://target/jobportal/index.php?category=1%27' | grep -iE '(SQL|syntax|error|database)' && echo 'Vulnerable' || echo 'Not Vulnerable'
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N