🇰🇷 한글 설명
CentiPaid 1.4.3의 centipaid_class.php에서 class_pwd 파라미터를 통한 PHP 원격 파일 포함(RFI) 취약점으로, 원격 공격자가 임의 코드를 실행할 수 있습니다. 다만 CVE와 제3자에 의해 논쟁이 제기되었는데, $class_pwd가 해당 include 문 전에 정적 값으로 설정되어 있다고 주장합니다.
💡 쉬운 설명
웹 애플리케이션이 외부에서 제공되는 파일 경로를 검증 없이 실행하는 문제입니다. 공격자가 악의적인 PHP 파일을 원격에서 로드하여 웹 서버에서 실행할 수 있게 됩니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in centipaid_class.php in CentiPaid 1.4.3 allows remote attackers to execute arbitrary code via a URL in the class_pwd parameter. NOTE: this issue has been disputed by CVE and multiple third parties, who state that $class_pwd is set to a static value before the relevant include statement
📍 영향받는 시스템
CentiPaid 1.4.3
⚔️ 공격 벡터
class_pwd 파라미터에 원격 파일 URL을 전달하여 RFI 트리거
🛡️ 대응 방법
CentiPaid를 최신 버전으로 업데이트하거나 사용자 입력 검증 및 화이트리스트 기반 파일 경로 제한 구현
🔧 검증 코드
centipaid_class.php 파일의 위치를 확인하여 CentiPaid 설치 여부를 파악합니다. 결과가 없으면 해당 제품이 설치되지 않은 것입니다.
find / -name 'centipaid_class.php' 2>/dev/null | head -1