🇰🇷 한글 설명
Bitweaver 1.3의 articles/BitArticle.php에서 발생하는 경쟁 상태(Race condition) 취약점입니다. Apache의 mod_mime 확장 기능을 사용하는 환경에서 이중 확장자 파일을 업로드하면, 웹 루트의 temp/articles 디렉토리에 일시적으로 저장된 파일을 통해 원격에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
공격자가 특수한 이름의 파일을 업로드하여 서버의 보안 허점을 이용해 명령어를 실행하는 취약점입니다. 파일이 완전히 처리되기 전 아주 짧은 찰나의 시간을 이용해 해킹 코드를 작동시킵니다.
🇺🇸 원문 (English)
Race condition in articles/BitArticle.php in Bitweaver 1.3, when run on Apache with the mod_mime extension, allows remote attackers to execute arbitrary PHP code by uploading arbitrary files with double extensions, which are stored for a small period of time under the webroot in the temp/articles directory.
📍 영향받는 시스템
Bitweaver 1.3 (Apache with mod_mime extension)
⚔️ 공격 벡터
이중 확장자 파일 업로드를 통한 임시 디렉토리 내 경쟁 상태 이용 및 원격 코드 실행(RCE)
🛡️ 대응 방법
Bitweaver를 최신 버전으로 업데이트하거나, 업로드 가능한 파일 확장자를 엄격히 제한하고 임시 디렉토리의 실행 권한을 제거하십시오.
🔧 검증 코드
명령어 실행 결과 Bitweaver 1.3 버전 정보가 출력되면 해당 취약점에 노출되었을 가능성이 높습니다.
grep -r "Bitweaver" /var/www/html | grep "1.3"