Atomic Serverで全データを操作される脆弱性、修正版なし
Summary
Atomic Serverの0.29.0から0.40.2に、認証なしで全データへの書き込み権限を得られる脆弱性があります。完全な修正版は未公開のため、未設定の環境は外部から遮断して初期設定を済ませ、権限の一覧を確認してください。
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.
Atomic Serverの0.29.0から0.40.2に、認証なしで全データへの書き込み権限を得られる脆弱性があります。完全な修正版は未公開のため、未設定の環境は外部から遮断して初期設定を済ませ、権限の一覧を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ontolaatomic-server | — | Not listed |
| crates.ioatomic-server |
0.29.0 – 0.40.1→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Summary
atomic-server provisions a well-known invite at {server}/setup with write = true, target = the Drive root, and usagesLeft = 1. Invite redemption ignores the redeemer's identity (for_agent: _ in server/src/plugins/invite.rs:22), so possession of the URL is the only requirement. An unauthenticated attacker who sends GET /setup?public-key= has the server create a new Agent and grant it write access to the entire Drive. On a freshly deployed (not-yet-claimed) instance this is a full server takeover with no credentials.
Severity
Critical — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8). No authentication required; grants attacker-controlled write over all resources in the Drive.
Affected component
server/src/appstate.rs— creates the/setupinvite targeting the Drive root withwrite=true,usagesLeft=1.server/src/plugins/invite.rs:14-173—construct_invite_redirectdestructuresfor_agent: _(redeemer identity discarded);?public-key=→Agent::new_from_public_key→add_rights(agent, target, write=true).
Steps to Reproduce
Environment: joepmeneer/atomic-server:develop in Docker, http://localhost:9883, fresh store. No auth headers are used.
-
Confirm the invite is live —
GET /setup(Accept:application/ad+json) showsinvite/write = true,invite/target = http://localhost:9883(Drive root),usagesLeft = 1. -
Redeem it anonymously with an attacker-generated ed25519 public key:
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com