🇰🇷 한글 설명
PHP-Nuke의 Gallery 모듈 1.3에서 SQL 인젝션 취약점이 존재합니다. 원격 공격자가 index.php의 showalbum 액션을 통해 aid 매개변수에 악의적인 SQL 코드를 삽입하여 임의의 데이터베이스 명령을 실행할 수 있습니다.
💡 쉬운 설명
웹사이트의 갤러리 기능에서 입력 검증이 부족하여 공격자가 데이터베이스를 조작할 수 있습니다. 이를 통해 민감한 정보를 도용하거나 데이터를 삭제할 수 있습니다.
🇺🇸 원문 (English)
SQL injection vulnerability in the Gallery module 1.3 for PHP-Nuke allows remote attackers to execute arbitrary SQL commands via the aid parameter in a showalbum action to index.php. NOTE: some of these details are obtained from third party information. NOTE: this issue was disclosed by an unreliable researcher, so it might be incorrect.
📍 영향받는 시스템
PHP-Nuke Gallery module version 1.3
⚔️ 공격 벡터
index.php?action=showalbum&aid=[SQL_INJECTION_PAYLOAD]를 통한 매개변수 조작
🛡️ 대응 방법
PHP-Nuke를 최신 버전으로 업데이트하고 모든 사용자 입력에 대해 SQL 쿼리 파라미터 바인딩을 적용
🔧 검증 코드
결과가 출력되면 Gallery 모듈이 설치되어 있으므로 버전 확인 후 패치 적용 필요; 결과 없으면 모듈이 설치되지 않음
find / -type f -name 'index.php' 2>/dev/null | xargs grep -l 'showalbum\|Gallery' 2>/dev/null | head -5