🇰🇷 한글 설명
PHP AddressBook 9.0.0.1은 photo.php의 'id' 파라미터에서 시간 기반 블라인드 SQL injection 취약점을 가지고 있습니다. 공격자는 시간 지연을 이용한 SQL 구문을 주입하여 응답 시간 차이를 관찰함으로써 데이터베이스 정보를 추출할 수 있습니다.
💡 쉬운 설명
공격자가 특수하게 조작된 명령어를 웹사이트에 보내 응답 시간의 차이로 데이터베이스 정보를 빼낼 수 있습니다. 매우 느린 응답이 나오면 원하는 정보가 있다는 뜻으로, 반복적인 시도로 데이터를 한 글자씩 추출할 수 있습니다.
🇺🇸 원문 (English)
PHP AddressBook 9.0.0.1 contains a time-based blind SQL injection vulnerability that allows remote attackers to manipulate database queries through the 'id' parameter. Attackers can inject crafted SQL statements with time delays to extract information by observing response times in the photo.php endpoint.
📍 영향받는 시스템
PHP AddressBook 9.0.0.1 이하 버전
⚔️ 공격 벡터
photo.php 엔드포인트의 'id' 파라미터를 통한 HTTP GET/POST 요청으로 원격 공격 가능
🛡️ 대응 방법
PHP AddressBook을 최신 버전으로 업그레이드하고, 입력값 검증 및 prepared statement 사용으로 SQL injection 방지
🔧 검증 코드
시스템에 PHP AddressBook 설치 여부 확인; 파일이 발견되면 해당 경로의 버전을 확인하여 9.0.0.1 이하인지 검증
find / -name 'photo.php' -o -name 'addressbook' -type d 2>/dev/null | head -5