MISPに認証済みユーザーが他組織のイベントの属性を改ざんできる脆弱性
Summary
MISPには、オブジェクト編集とファイル添付の処理に認可と入力検証の不備が複数見つかっています。編集権限を持つ認証済みユーザーは、他組織の非公開イベントの属性を上書きまたは削除できるおそれがあり、添付ファイルのパス操作によってファイルを読み書きされるおそれもあります。影響を受けるのは2.5.52より前のMISPで、2.5.52で修正されています。未対応の環境は、修正版の2.5.52へ更新してください。
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.
MISPには、オブジェクト編集とファイル添付の処理に認可と入力検証の不備が複数見つかっています。編集権限を持つ認証済みユーザーは、他組織の非公開イベントの属性を上書きまたは削除できるおそれがあり、添付ファイルのパス操作によってファイルを読み書きされるおそれもあります。影響を受けるのは2.5.52より前のMISPで、2.5.52で修正されています。未対応の環境は、修正版の2.5.52へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MISPMISP |
< 2.5.52→ 2.5.52 |
2.5.52 |
Original description The description as published by the source.
MISP contains multiple related authorization and input-validation flaws in its object editing and attachment handling workflows.
- A user with permission to edit their own object could inject a foreign attribute identifier into the object revision form. The revision data, stored in the server-side session, was merged into the stored object before the save diff was computed. The save then wrote to the foreign attribute row by its identifier without verifying that the row belonged to the caller's event or organisation, allowing an attacker to overwrite or soft-delete an attribute in another organisation's private event.
- Attachment file paths were constructed directly from event and attribute identifiers supplied by the request. Because no type or format validation was applied, crafted values (for example directory-traversal sequences or file-name extensions) could cause the application to read from or write to file-system locations outside the intended attachment directory.
- The audit-log behaviour recorded an edit under the event identifier carried in the save payload rather than the event identifier of the stored database row. An attacker who included a different event identifier in the save could cause the audit entry to be attributed to the wrong event, undermining the integrity of the audit trail.
Exploitation requires an authenticated web-session user with object-editing permissions (perm_add / perm_modify). API-key-only requests do not carry the PHP session and are…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com