🇰🇷 한글 설명
WordPress 플러그인 'The Bread & Butter'의 uploadImage() 함수에서 논스(nonce) 검증이 누락되어 CSRF 취약점이 발생합니다. 공격자가 관리자를 속여 악성 요청을 보내게 함으로써 임의의 파일을 업로드하고 원격 코드 실행(RCE)을 수행할 수 있습니다.
💡 쉬운 설명
관리자가 악성 링크를 클릭하게 유도하여, 관리자 몰래 서버에 위험한 파일을 올릴 수 있는 보안 결함입니다. 이 파일이 실행되면 해커가 웹사이트의 제어권을 완전히 뺏을 수 있습니다.
🇺🇸 원문 (English)
The Bread & Butter: Gate content + Capture leads + Collect first-party data + Nurture with Ai agents plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 7.11.1374. This is due to missing or incorrect nonce validation on the uploadImage() function. This makes it possible for unauthenticated attackers to upload arbitrary files that make remote code execution possible via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
📍 영향받는 시스템
The Bread & Butter 플러그인 7.11.1374 이하 모든 버전
⚔️ 공격 벡터
관리자를 대상으로 한 CSRF(사이트 간 요청 위조) 공격을 통해 악성 파일 업로드 유도
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, uploadImage() 함수에 nonce 검증 로직을 추가해야 합니다.
🔧 검증 코드
출력된 플러그인 버전이 7.11.1374 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep 'the-bread-and-butter' && wp plugin list --all | grep 'the-bread-and-butter'