CVE-2020-11610
HIGH8.8EPSS 0.23%xdlocalstorage does not verify request origin
發布日:2022/5/24修改日:2023/11/8
描述
An issue was discovered in xdLocalStorage through 2.0.5. The `postData()` function in `xdLocalStoragePostMessageApi.js` specifies the wildcard (`*`) as the targetOrigin when calling the `postMessage()` function on the parent object. Therefore any domain can load the application hosting the "magical iframe" and receive the messages that the "magical iframe" sends.
受影響套件(1)
- npm/xdlocalstoragefrom 0, <= 2.0.5
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-11610
- PATCHhttps://github.com/ofirdagan/cross-domain-local-storage
- WEBhttps://github.com/ofirdagan/cross-domain-local-storage/issues/17
- WEBhttps://github.com/ofirdagan/cross-domain-local-storage/pull/19
- WEBhttps://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-TargetOrigin-Magic-iframe