🇰🇷 한글 설명
Apache OFBiz 24.09 8 이전 버전의 ContentWorker에서 인가 검사가 부적절하여, 인증되지 않은 원격 공격자가 공격자가 지정한 서비스를 호출해 임의 파일 쓰기, 임의 파일 삭제, 서버 측 요청 위조(SSRF)를 유발할 수 있습니다. 해당 취약점은 24.09.08 버전에서 수정되었습니다.
💡 쉬운 설명
인터넷에서 로그인 없이도 인기 있는 기업용 관리 시스템(Apache OFBiz)의 서버 파일을 쓰거나 지울 수 있는 문제입니다. 해당 프로그램을 24.09.08 이상 버전으로 업데이트하면 해결됩니다.
🇺🇸 원문 (English)
Improper Authorization in ContentWorker in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to trigger arbitrary OFBiz service invocation with attacker-controlled parameters, resulting in arbitrary file write, arbitrary file deletion, and server-side request forgery, by requesting the public showHelpPublic view against a Content row whose serviceName field an account holding only CONTENTMGR_CREATE or CONTENTMGR_UPDATE has set to an attacker-chosen service, causing ContentWorker.renderContentAsText to resolve the service to invoke from that persisted, client-writable field and build its parameters directly from the live HTTP request map with no allow-list, no ownership check, and no requirement that the caller be authenticated. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
📍 영향받는 시스템
Apache OFBiz 24.09 이전(24.09.08 미만) 모든 플랫폼
⚔️ 공격 벡터
인증 없이 공개 showHelpPublic 요청을 보내고, 공격자가 조작한 Content 데이터의 serviceName 값을 통해 임의 서비스를 호출하여 파일 쓰기·삭제 및 SSRF를 수행
🛡️ 대응 방법
Apache OFBiz를 24.09.08 이상 버전으로 업그레이드하고, 업그레이드 전까지 showHelpPublic 및 ContentWorker 관련 외부 노출을 차단
🔧 검증 코드
출력된 Implementation-Version 값이 24.09.08 미만이면 취약한 버전이므로 업그레이드가 필요하며, 아무것도 출력되지 않으면 설치된 OFBiz가 없는 것입니다.
find / -path '*ofbiz*' -name 'ofbiz*.jar' 2>/dev/null | head -n 5 | xargs -r -I{} sh -c 'unzip -p "{}" META-INF/MANIFEST.MF 2>/dev/null | grep -i "Implementation-Version" && echo "file: {}"'