🇰🇷 한글 설명
Minb(Is Not a Blog) 0.1.0의 include/modules/top/1-random_quote.php에서 quotes_to_edit 매개변수를 통해 원격 공격자가 임의의 PHP 코드를 실행할 수 있는 취약점입니다. 이는 비인증 사용자가 서버에서 임의 코드를 실행하여 시스템을 완전히 제어할 수 있게 합니다.
💡 쉬운 설명
Minb 블로그 소프트웨어의 특정 파일에서 악의적인 입력값을 통해 서버에서 원하는 명령어를 실행할 수 있는 문제입니다. 공격자가 이를 이용하면 블로그 서버 전체를 제어할 수 있습니다.
🇺🇸 원문 (English)
include/modules/top/1-random_quote.php in Minb Is Not a Blog (minb) 0.1.0 allows remote attackers to execute arbitrary PHP code via the quotes_to_edit parameter. NOTE: this issue has been reported as an unrestricted file upload by some sources, but that is a potential consequence of code execution.
📍 영향받는 시스템
Minb (Is Not a Blog) 0.1.0
⚔️ 공격 벡터
POST 요청을 통해 quotes_to_edit 매개변수에 PHP 코드를 주입하여 원격 코드 실행 (RCE)
🛡️ 대응 방법
Minb를 최신 버전으로 업그레이드하거나 해당 파일에 입력값 검증 및 문자열 이스케이프 처리 추가
🔧 검증 코드
파일이 존재하면 해당 경로가 출력되며, Minb가 설치되어 있다는 의미입니다. 파일이 없으면 시스템이 안전합니다.
find / -name '1-random_quote.php' 2>/dev/null | head -1