🇰🇷 한글 설명
JosephChuks의 php-file-manager-with-code-editor 3.0 이하 버전에서 파일 업로드 제한이 없는 취약점이 발견되었습니다. Save Handler 구성 요소의 codeEditor.php 내 file_put_contents 함수에서 filename/content 인자를 조작하여 원격에서 임의의 파일을 업로드할 수 있습니다. 이 취약점은 이미 공개되었으며 공격자가 악용할 가능성이 높습니다.
💡 쉬운 설명
파일 관리 프로그램의 허점을 이용해 해커가 서버에 몰래 악성 파일을 올릴 수 있는 문제입니다. 이를 통해 해커가 원격에서 서버를 제어할 위험이 있습니다.
🇺🇸 원문 (English)
A vulnerability has been found in JosephChuks php-file-manager-with-code-editor up to 3.0. Impacted is the function file_put_contents of the file codeEditor.php of the component Save Handler. The manipulation of the argument filename/content leads to unrestricted upload. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
📍 영향받는 시스템
JosephChuks php-file-manager-with-code-editor version 3.0 and below
⚔️ 공격 벡터
원격에서 codeEditor.php의 인자값을 조작하여 악성 파일을 업로드하는 방식
🛡️ 대응 방법
해당 소프트웨어를 최신 보안 패치가 적용된 버전으로 업데이트하거나, 파일 업로드 관련 권한 설정을 강화하십시오.
🔧 검증 코드
명령어 결과로 해당 파일이 존재하고 버전이 3.0 이하인 경우 취약할 수 있습니다.
find / -name 'codeEditor.php' 2>/dev/null