pfSense REST API パッケージで一般ユーザーが管理者権限を取得される
Summary
pfSense REST API パッケージ(pfSense-pkg-RESTAPI)の 2.9.0 より前のバージョンには、設定同期の権限を持つ認証済みユーザーが REST API の設定情報を書き換え、完全な管理者権限を得られる権限昇格の脆弱性があります。対策として、2.9.0 以降へアップデートしてください。すぐに更新できない場合は、設定同期の権限を非管理者ユーザーから外し、API へのアクセスを信頼できる管理者や HA 相手の IP アドレスに制限してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pfSense REST API パッケージ(pfSense-pkg-RESTAPI)の 2.9.0 より前のバージョンには、設定同期の権限を持つ認証済みユーザーが REST API の設定情報を書き換え、完全な管理者権限を得られる権限昇格の脆弱性があります。対策として、2.9.0 以降へアップデートしてください。すぐに更新できない場合は、設定同期の権限を非管理者ユーザーから外し、API へのアクセスを信頼できる管理者や HA 相手の IP アドレスに制限してください。
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com