🇰🇷 한글 설명
Control Web Panel 0.9.8.1225 미만 버전에서 인증되지 않은 원격 공격자가 userRes POST 파라미터를 통해 임의의 SQL 쿼리를 실행할 수 있는 Blind SQL 인젝션 취약점이 발견되었습니다. 공격자는 이를 통해 MySQL 루트 권한을 획득하고 파일을 생성하여 PHP 웹쉘을 배포함으로써 cwpsvc 계정 권한으로 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
인터넷을 통해 누구나 서버의 데이터베이스에 몰래 명령을 내릴 수 있는 보안 구멍이 발견되었습니다. 해커가 이 구멍을 이용해 서버에 악성 파일을 심고 서버를 마음대로 조종할 수 있습니다.
🇺🇸 원문 (English)
Control Web Panel before 0.9.8.1225 contains a blind SQL injection vulnerability that allows unauthenticated remote attackers to execute arbitrary SQL queries by submitting unsanitized input through the userRes POST parameter at the user endpoint. Attackers can exploit MySQL root privileges obtained via the injection to write arbitrary files using INTO DUMPFILE, enabling deployment of a PHP webshell to the web-accessible roundcube logs directory and achieving remote code execution as the cwpsvc account.
📍 영향받는 시스템
Control Web Panel 0.9.8.1225 미만 모든 버전
⚔️ 공격 벡터
user endpoint의 userRes POST 파라미터에 검증되지 않은 입력값을 전송하는 Blind SQL Injection
🛡️ 대응 방법
Control Web Panel을 최신 버전인 0.9.8.1225 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.9.8.1225보다 낮으면 취약한 상태입니다.
cat /usr/local/cwpsrv/conf/version 2>/dev/null || echo 'Version file not found'