🇰🇷 한글 설명
MaxSite CMS에서 발생하는 원격 코드 실행 취약점으로, 설치 완료 후 install 엔드포인트에 조작된 POST 요청을 보내 구성 파일에 임의의 PHP 코드를 주입할 수 있습니다. 공격자는 db_dbprefix 값을 악용하여 데이터베이스 설정 파일의 PHP 문자열을 깨뜨리고 악성 코드를 삽입함으로써, 웹 서버 프로세스 권한으로 지속적인 원격 코드 실행을 수행할 수 있습니다.
💡 쉬운 설명
해커가 웹사이트 설정 파일에 몰래 악성 명령어를 끼워 넣어 웹사이트를 마음대로 조종할 수 있는 문제입니다. 한 번 공격에 성공하면 웹사이트가 실행될 때마다 해커의 명령이 계속 실행되어 매우 위험합니다.
🇺🇸 원문 (English)
MaxSite CMS contains a remote code execution vulnerability that allows unauthenticated attackers to inject arbitrary PHP code into the application configuration file by submitting crafted POST requests to the install endpoint after installation is complete. Attackers can supply a malicious db_dbprefix value containing a single quote to break out of a PHP string literal in application/config/database.php, appending attacker-controlled PHP statements that are executed by the web server on every subsequent request, resulting in persistent unauthenticated remote code execution as the web-server process user.
📍 영향받는 시스템
MaxSite CMS (설치 완료 후 install 엔드포인트가 활성화된 모든 버전)
⚔️ 공격 벡터
설치 완료 후 install 엔드포인트로 조작된 db_dbprefix 값을 포함한 POST 요청 전송
🛡️ 대응 방법
설치 완료 즉시 install 엔드포인트를 비활성화하거나 삭제하고, application/config/database.php 파일의 쓰기 권한을 제한하십시오.
🔧 검증 코드
명령어 실행 결과 'Vulnerable'이 출력되면 해당 엔드포인트가 존재하여 공격 가능성이 있음을 의미합니다.
curl -s -X POST http://<target>/install | grep -q 'db_dbprefix' && echo 'Vulnerable' || echo 'Not Vulnerable'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM WebSphere Application Server