🇰🇷 한글 설명
phpRPG 0.8의 index.php에서 password 파라미터를 통해 SQL injection 취약점이 존재합니다. 원격 공격자가 임의의 SQL 명령어를 실행할 수 있으며, 데이터베이스 조회, 수정, 삭제 등이 가능합니다.
💡 쉬운 설명
웹 로그인 화면의 비밀번호 입력란에 특수 문자를 넣어서 데이터베이스를 공격하는 취약점입니다. 공격자가 모든 사용자 정보를 빼낼 수 있습니다.
🇺🇸 원문 (English)
SQL injection vulnerability in index.php in phpRPG 0.8 allows remote attackers to execute arbitrary SQL commands via the password parameter. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
phpRPG 0.8 이하 버전
⚔️ 공격 벡터
HTTP GET/POST 요청을 통해 index.php의 password 파라미터에 SQL injection 코드 입력
🛡️ 대응 방법
phpRPG를 최신 버전으로 업그레이드하거나 password 파라미터에 대한 입력 검증 및 prepared statement 사용
🔧 검증 코드
phpRPG 설치 경로가 표시되면 해당 버전을 확인하고, 경로가 없으면 해당 애플리케이션이 설치되지 않은 상태
grep -r 'phpRPG' /var/www/html 2>/dev/null || find / -name 'index.php' -path '*phpRPG*' 2>/dev/null | head -1