🇰🇷 한글 설명
FrontAccounting 2.4.20 미만 버전의 첨부 파일 업로드 핸들러에서 경로 탐색 취약점이 발견되었습니다. 인증된 공격자가 unique_name 파라미터에 경로 탐색 시퀀스를 삽입하여 웹 루트 디렉토리에 악성 PHP 파일을 업로드하고 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
로그인한 사용자가 파일 이름에 특수 문자를 섞어 올려서, 원래 저장되면 안 되는 시스템 폴더에 해킹용 파일을 몰래 심을 수 있는 문제입니다. 이를 통해 해커가 서버를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
FrontAccounting before 2.4.20 contains a path traversal vulnerability in the attachment upload handler that allows authenticated attackers to execute arbitrary code by uploading files with traversal sequences in the unique_name parameter. Attackers can supply path traversal sequences ../../../shell.php to write files outside the intended attachments directory into the web root, and by uploading PHP files without extension validation, achieve remote code execution as the web server user.
📍 영향받는 시스템
FrontAccounting versions before 2.4.20
⚔️ 공격 벡터
인증된 사용자가 첨부 파일 업로드 시 unique_name 파라미터에 ../../ 와 같은 경로 탐색 문자열을 삽입하여 공격
🛡️ 대응 방법
FrontAccounting을 최신 버전인 2.4.20 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
설치된 FrontAccounting의 버전을 확인하여 2.4.20 미만인지 체크합니다.
php -r 'echo "FrontAccounting Version Check";' | grep -i '2.4.20'