🇰🇷 한글 설명
SPIP 4.4.18 미만 버전의 SQLite 기반 설치 환경에서 코드 주입 취약점이 발견되었습니다. 편집자(redacteur) 권한을 가진 인증된 공격자가 조작된 GET 요청을 통해 웹 서버 프로세스에서 임의의 OS 명령을 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 권한을 가진 사람이 특수한 명령어를 입력하면 서버를 마음대로 조종할 수 있는 보안 구멍이 발견되었습니다. 다만, 데이터베이스로 SQLite를 사용하는 경우에만 해당하며 MySQL을 사용하는 경우에는 안전합니다.
🇺🇸 원문 (English)
SPIP before 4.4.18 contains a code injection vulnerability in SQLite-backed installations. The navigation menu endpoint improperly handles array-typed user input, which bypasses input sanitization and allows the value to break out of an internal quoted string context when evaluated as PHP. An authenticated attacker with at minimum editor (redacteur) privileges can submit a single crafted GET request to /ecrire/?exec=navigation to execute arbitrary OS commands in the web server process. MySQL-backed installations are not affected.
📍 영향받는 시스템
SPIP 4.4.18 미만 버전 (SQLite 기반 설치 환경에 한함)
⚔️ 공격 벡터
인증된 공격자가 /ecrire/?exec=navigation 엔드포인트로 조작된 GET 요청을 전송
🛡️ 대응 방법
SPIP를 최신 버전인 4.4.18 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 SPIP 버전이 4.4.18 미만인지 확인하여 취약 여부를 판단합니다.
curl -s http://<target_ip>/ecrire/ | grep -E 'SPIP/([0-3]\.|4\.[0-4]\.[0-9]{1,2})'