CVE-2018-14732
Last modified
CVE-2018-14732 is a vulnerability of currently unknown severity. An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. 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). EPSS estimates a 2.43% chance of exploitation in the next 30 days.
Description
An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. 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:8080/ connection from any origin.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webpack.Js | Webpack-Dev-Server | < 3.1.6 |
References
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20MessagesExploit, Third Party Advisory
- https://github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10Patch, Third Party Advisory
- https://github.com/webpack/webpack-dev-server/issues/1445Exploit, Third Party Advisory
- https://blog.cal1.cn/post/Sniffing%20Codes%20in%20Hot%20Module%20Reloading%20MessagesExploit, Third Party Advisory
- https://github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca45b8d10Patch, Third Party Advisory
- https://github.com/webpack/webpack-dev-server/issues/1445Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-14732?
How severe is CVE-2018-14732?
How do I fix CVE-2018-14732?
Are you affected by CVE-2018-14732?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
