| 概要 | Sails is an MVC style framework for building realtime web applications. Version 0.12.7 and lower have an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible. |
|---|---|
| 公表日 | 2018年6月1日5:29 |
| 登録日 | 2021年1月26日14:05 |
| 最終更新日 | 2024年11月21日11:44 |
| CVSS3.0 : MEDIUM | |
| スコア | 4.4 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更あり |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| CVSS2.0 : LOW | |
| スコア | 2.1 |
|---|---|
| ベクター | AV:N/AC:H/Au:S/C:N/I:P/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃前の認証要否(Au) | 単一 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| 全ての特権を取得 | いいえ |
| ユーザー権限を取得 | いいえ |
| その他の権限を取得 | いいえ |
| ユーザー操作が必要 | はい |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:sailsjs:sails:*:*:*:*:*:node.js:*:* | 0.12.7 | ||||
| タイトル | Sails におけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| 概要 | Sails には、クロスサイトスクリプティングの脆弱性が存在します。 |
| 想定される影響 | 情報を取得される、および情報を改ざんされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2016年10月21日0:00 |
| 登録日 | 2018年7月27日11:55 |
| 最終更新日 | 2018年7月27日11:55 |
| sailsjs |
| sails 0.12.7 およびそれ以前 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2018年07月27日] 掲載 |
2018年7月27日11:55 |