Improper input validation in Webpack.js Webpack-Dev-Server
CVE-2018-14732
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.026 (84.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.026 · newest: 0.026 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/webpack/webpack-dev-server/issues/1445 (Exploit, Third Party Advisory)
- blog.cal1.cn/post/Sniffing Codes in Hot Module Reloading Messages (Exploit, Third Party Advisory)
- github.com/webpack/webpack-dev-server/commit/f18e5adf123221a1015be63e1ca2491ca4… (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-14732?
- CVE-2018-14732 is a high-severity vulnerability in Webpack.js Webpack-Dev-Server, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2018-09-21.
- How severe is CVE-2018-14732?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-14732 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.