CVE-2026-61791
OCO-Server: Stored XSS through agent hostnames in command buttons
P3 CVSS最高 7.4
公式ソースで確認された事実(機械抽出)
| 公式説明(原文・英語) | OCO-Server is a self-hosted endpoint management application for computer inventory, software deployment, and mobile device management. Prior to 1.2.1, `Html::commandButton()` in `lib/Html.class.php` embeds an action URL containing a stored computer hostname into a JavaScript string in an inline `onclick` handler, using `htmlspecialchars(ENT_QUOTES)` only for HTML escaping. Browsers decode the HTML entities before interpreting the handler as JavaScript, allowing a crafted hostname to escape the string and execute script in an administrator's authenticated session when an affected command button is activated. `frontend/views/computer-details.php` passes `$computer->hostname` to this helper using `Computer::DEFAULT_COMPUTER_COMMANDS` in `lib/Models/Computer.class.php`, whose VNC, RDP, SSH, and Ping entries use `new_tab=false` and the vulnerable `window.location` branch. A remote attacker who possesses the shared `agent-registration-key` can use the `oco.agent.hello` handler in `frontend/api-agent.php` to store an unchecked hostname when `agent-self-registration-enabled` is enabled; self-registration is disabled by default. The vulnerable default command buttons require no custom command configuration. The injected script can abuse the administrator's privileges, including permission to deploy software jobs to managed computers. This issue is fixed in version 1.2.1. |
|---|---|
| 悪用状況 | 不明 |
| KEV(米CISA既知悪用脆弱性カタログ) | 未登録(確認 —)。KEV未掲載は「悪用されていない」ことを意味しません。 |
| CVSS評価 | security-advisories-at-github.com CVSS 3.1: 7.4 security-advisories-at-github.com: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
| EPSS(今後30日以内の悪用確率・FIRST) | — |
| 修正バージョン | 公表なし |
| 公表日 | 2026年10月22日 23:55 |
| 最終更新 | 2026年10月29日 21:17 |
| 最終確認 | 2026年10月29日 22:16 |
対象製品・バージョン
| 製品 | 影響バージョン | 修正バージョン | ベンダー修正済み | 利用者対応要否 |
|---|---|---|---|---|
| schorschii OCO-Server | < 1.2.1 | — | 未告知 | 未告知 |
「ベンダー修正済み」と「利用者対応要否」は別の事実として管理しています(ベンダー修正済みでも利用者側の更新が必要です)。
出典・根拠
AIによる補助要約
AIによる補助要約は無効化されています(無料運用のため既定ではオフ)。一次情報をご確認ください。