🇰🇷 한글 설명
pfSense REST API 패키지 2.9.0 미만 버전에서 발생하는 권한 상승 취약점입니다. 'settings sync' 권한을 가진 인증된 사용자가 API 설정 비밀 정보를 수정하여 전체 관리자 권한을 획득할 수 있습니다.
💡 쉬운 설명
제한된 권한만 가진 사용자가 시스템의 중요한 비밀 정보를 몰래 바꿔서 관리자 권한을 뺏을 수 있는 문제입니다. 이를 통해 공격자는 방화벽의 모든 제어권을 가질 수 있습니다.
🇺🇸 원문 (English)
The pfSense REST API package is an unofficial, open-source REST and GraphQL API for pfSense CE and pfSense Plus firewalls. A privilege escalation vulnerability in pfSense-pkg-RESTAPI prior to version 2.9.0 allows authenticated accounts holding the dedicated settings sync permission to modify REST API configuration secrets. This enables a non-administrative user to elevate their privileges to a full administrator. pfSense-pkg-RESTAPI 2.9.0 patches the issue. Access to the HA settings sync endpoint now strictly requires full administrative privileges (`page-all`). The sub-administrative sync privilege has been removed in versions v2.9.0 and later. In addition to correcting the access control boundary, version 2.9.0 includes the following hardening measures: opt-in default and format and validation modernization. As a workaround, one may mitigate exposure by taking either or all of the following steps. Revoke Scoped Permissions: Remove the `api-v2-system-restapi-settings-sync-post` privilege from all non-administrative users. Apply ACLs: Configure REST API Access Control Lists (ACLs) and/or firewall rules to restrict access to API endpoints exclusively to trusted administrator and HA peer IP addresses.
📍 영향받는 시스템
pfSense-pkg-RESTAPI 2.9.0 미만 버전
⚔️ 공격 벡터
settings sync 권한을 가진 인증된 계정을 통한 API 설정 정보 수정
🛡️ 대응 방법
pfSense-pkg-RESTAPI를 2.9.0 이상 버전으로 업데이트하거나, 비관리자 계정에서 관련 권한을 제거하십시오.
🔧 검증 코드
출력된 결과의 버전이 2.9.0 미만이면 취약한 상태입니다.
pkg -l | grep pfSense-pkg-RESTAPI