Information disclosure in HackerOne Hapi Node Module
CVE-2015-9236
Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden. If the connection has CORS enabled but one route has it off, and the route is not GET, the OPTIONS prefetch request will return the default CORS headers and then the actual request will go through and return no CORS headers. This defeats the purpose of turning CORS on the route.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.015, 74.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Hapi Node Module — versions <11.0.0
- Hapijs Hapi
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/hapijs/hapi/issues/2850 (Third Party Advisory, Release Notes)
- github.com/hapijs/hapi/issues/2840 (Patch, Third Party Advisory)
- nodesecurity.io/advisories/45 (Third Party Advisory)