🇰🇷 한글 설명
SPIP 4.4.18 미만 버전에서 SQL 탈출 계층의 인증되지 않은 Blind SQL 인젝션 취약점이 발견되었습니다. 공격자는 특정 패턴의 annee 파라미터를 사용하여 MySQL, SQLite, PostgreSQL 백엔드에서 날짜 유형 컬럼의 이스케이프 처리를 우회하고 임의의 SQL을 실행할 수 있습니다. 이를 통해 SPIP 액션 논스 서명에 사용되는 alea_ephemere 비밀값을 포함한 데이터베이스의 임의 콘텐츠를 추출할 수 있습니다.
💡 쉬운 설명
해커가 로그인 없이도 웹사이트의 데이터베이스에 몰래 명령어를 입력하여 정보를 빼낼 수 있는 보안 약점입니다. 이 취약점을 이용하면 사이트의 중요한 비밀번호나 보안 키를 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
SPIP before 4.4.18 contains an unauthenticated blind SQL injection vulnerability in the SQL escaping layer that allows unauthenticated attackers to inject arbitrary SQL by supplying a crafted annee parameter value matching a word character followed by an open parenthesis, which bypasses escaping for date-type columns across MySQL, SQLite, and PostgreSQL backends. Attackers can exploit the always-present sitemap.xml.html template's annee criterion to embed unescaped time-based or boolean payloads into database queries, enabling extraction of arbitrary database content including the alea_ephemere secret used to sign SPIP action nonces.
📍 영향받는 시스템
SPIP 4.4.18 미만 모든 버전 (MySQL, SQLite, PostgreSQL 백엔드 사용 시)
⚔️ 공격 벡터
sitemap.xml.html 템플릿의 annee 파라미터에 특수하게 조작된 값을 입력하여 SQL 이스케이프 우회
🛡️ 대응 방법
SPIP를 최신 보안 패치가 적용된 버전인 4.4.18 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
SPIP 설치 경로의 버전 파일이나 관리자 페이지를 통해 현재 버전이 4.4.18 미만인지 확인하십시오.
curl -s http://<target_ip>/<?php echo phpinfo(); ?> | grep -i 'SPIP' || echo 'Check SPIP version manually'