An issue was discovered in Browserify-HMR. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:3123/ connection from any origin.
References
Link | Resource |
---|---|
https://github.com/AgentME/browserify-hmr/issues/41 | Third Party Advisory |
https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20Messages | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2018-09-21 10:29
Updated : 2020-06-10 05:45
NVD link : CVE-2018-14730
Mitre link : CVE-2018-14730
JSON object : View
CWE
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor
Products Affected
browserify-hot_module_replacement_project
- browserify-hot_module_replacement