🇰🇷 한글 설명
OAstium VoIP PBX의 logon.php에서 SQL injection 취약점으로 인해 인증을 우회할 수 있습니다. 관리자 권한 획득 후 import.php의 importcompany 필드를 통해 임의의 PHP 코드를 업로드하여 root 권한으로 원격 코드 실행이 가능합니다.
💡 쉬운 설명
OAstium VoIP 시스템의 로그인 검증이 불완전하여 암호 없이 관리자 권한을 얻을 수 있습니다. 그 후 악성 코드를 최고 관리자(root) 권한으로 실행할 수 있어 시스템 전체가 장악됩니다.
🇺🇸 원문 (English)
A vulnerability exists in OAstium VoIP PBX astium-confweb-2.1-25399 and earlier, where improper input validation in the logon.php script allows an attacker to bypass authentication via SQL injection. Once authenticated as an administrator, the attacker can upload arbitrary PHP code through the importcompany field in import.php, resulting in remote code execution. The malicious payload is injected into /usr/local/astium/web/php/config.php and executed with root privileges by triggering a configuration reload via sudo /sbin/service astcfgd reload. Successful exploitation leads to full system compromise.
📍 영향받는 시스템
OAstium VoIP PBX astium-confweb 2.1-25399 이전 모든 버전
⚔️ 공격 벡터
logon.php의 SQL injection으로 인증 우회 → import.php에서 PHP 코드 업로드 → config.php 실행
🛡️ 대응 방법
astium-confweb을 2.1-25399 이후 패치 버전으로 긴급 업그레이드 필수
🔧 검증 코드
파일 경로가 출력되면 시스템에 취약한 OAstium이 설치되어 있으며, 버전 확인 후 즉시 업그레이드 필요
find /usr/local/astium -name 'logon.php' 2>/dev/null | head -1