🇰🇷 한글 설명
WordPress용 Devs Accounting 플러그인 1.2.0 이하 버전에서 delete_single_account() 함수에 권한 확인 절차가 누락되어 데이터가 무단으로 수정 또는 삭제될 수 있는 취약점이 발견되었습니다. REST API 엔드포인트에 permission_callback이 설정되지 않아 인증되지 않은 공격자가 GET 요청만으로 임의의 회계 계정 기록을 삭제할 수 있습니다.
💡 쉬운 설명
회계 관리 플러그인의 보안 설정 오류로 인해, 로그인하지 않은 외부인도 특정 주소에 접속하는 것만으로 중요한 회계 데이터를 삭제할 수 있는 상태입니다. 누구나 쉽게 데이터를 지울 수 있어 데이터 손실 위험이 큽니다.
🇺🇸 원문 (English)
The Devs Accounting – Simple Accounting and Invoicing Solution plugin for WordPress is vulnerable to unauthorized modification/deletion of data due to a missing capability check on the delete_single_account() function in versions up to, and including, 1.2.0. The REST route 'devs-accounting/v1/delete-account/(?P<id>\d+)' is registered without any permission_callback, which causes WordPress to expose the endpoint to public, unauthenticated access. This makes it possible for unauthenticated attackers to soft-delete arbitrary accounting account records (wp_dac_accounts) by issuing a simple GET request to the endpoint with any account ID.
📍 영향받는 시스템
Devs Accounting – Simple Accounting and Invoicing Solution plugin (WordPress) version 1.2.0 and below
⚔️ 공격 벡터
인증되지 않은 공격자가 특정 REST API 엔드포인트에 조작된 ID를 포함한 GET 요청을 전송
🛡️ 대응 방법
해당 플러그인을 최신 버전으로 업데이트하거나, API 엔드포인트에 적절한 권한 확인(permission_callback) 로직을 추가해야 합니다.
🔧 검증 코드
명령어 결과에 devs-accounting 플러그인이 나타나면 설치 여부를 확인하고, 설치된 버전이 1.2.0 이하인지 대조하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -E 'devs-accounting'