Dokployに権限昇格の脆弱性、共有ホストで一般ユーザーがrootになるおそれ
Summary
Dokployの0.31.0以前では、インストーラーと手動インストールの手順で/etc/dokployのアクセス権が0777に設定され、ローカルの一般ユーザーがroot所有の設定ディレクトリを差し替えられます。Dokployがそのパスを信頼された設定として読み込むため、差し替えたスクリプトがrootで実行され、権限昇格につながるおそれがあります。CVSS v4は8.5で、修正版の有無は事実に記載がないため、最新の情報を確認してください。
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.
Dokployの0.31.0以前では、インストーラーと手動インストールの手順で/etc/dokployのアクセス権が0777に設定され、ローカルの一般ユーザーがroot所有の設定ディレクトリを差し替えられます。Dokployがそのパスを信頼された設定として読み込むため、差し替えたスクリプトがrootで実行され、権限昇格につながるおそれがあります。CVSS v4は8.5で、修正版の有無は事実に記載がないため、最新の情報を確認してください。
Original description The description as published by the source.
Dokploy is a free, self-hostable Platform as a Service (PaaS). In 0.31.0 and earlier, the hosted installer and manual installation instructions set /etc/dokploy to mode 0777, allowing a local non-root user on a shared host to replace root-owned schedule or Traefik configuration directories. Dokploy subsequently consumes those paths as trusted configuration and can execute substituted scheduled-task scripts as root, resulting in local privilege escalation.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com