National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2015-9236 Detail

Description

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.

Source:  MITRE
Description Last Modified:  05/31/2018

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://github.com/hapijs/hapi/issues/2840
https://github.com/hapijs/hapi/issues/2850
https://nodesecurity.io/advisories/45

Technical Details

Vulnerability Type (View All)

Quick Info

CVE Dictionary Entry:
CVE-2015-9236
NVD Published Date:
05/31/2018
NVD Last Modified:
05/31/2018