🇰🇷 한글 설명
WordPress용 Premmerce Dev Tools 플러그인 2.0 이하 버전에서 권한 검증 부재로 인한 원격 코드 실행(RCE) 취약점이 발견되었습니다. 'generatePluginHandler' 함수가 사용자 입력값을 적절히 검증하지 않고 PHP 스텁 파일에 직접 삽입함으로써, 공격자가 임의의 PHP 코드를 서버에 생성하고 실행할 수 있습니다.
💡 쉬운 설명
플러그인의 보안 허점을 이용해 해커가 서버에 몰래 악성 파일을 만들고 명령을 내릴 수 있는 위험한 상태입니다. 권한이 있는 사용자라면 누구나 서버를 마음대로 조종할 수 있는 심각한 문제입니다.
🇺🇸 원문 (English)
The Premmerce Dev Tools plugin for WordPress is vulnerable to Remote Code Execution via missing authorization in versions up to and including 2.0. This is due to the 'generatePluginHandler' function lacking any authorization check before processing user-supplied POST data, combined with the 'createFromStub' function performing unsanitized string substitution of the 'premmerce_plugin_namespace' parameter directly into PHP stub files written to the wp-content/plugins/ directory. An attacker can inject a semicolon followed by arbitrary PHP code into the namespace parameter, causing the generated plugin file to contain and execute that code when accessed via HTTP. This makes it possible for authenticated attackers with Subscriber-level access and above to create arbitrary PHP files on the server and achieve remote code execution.
📍 영향받는 시스템
WordPress Premmerce Dev Tools plugin (version 2.0 and below)
⚔️ 공격 벡터
인증된 사용자(Subscriber 권한 이상)가 조작된 POST 데이터를 전송하여 서버에 임의의 PHP 파일을 생성 및 실행
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나 사용하지 않는 경우 즉시 삭제하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면 설치된 것이며, 설치된 버전이 2.0 이하인지 확인이 필요합니다.
wp plugin list --status=active | grep -i 'premmerce-dev-tools'