CVE-2015-9236

CVSS V2 Medium 5 CVSS V3 Medium 5.3
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.
Overview
  • CVE ID
  • CVE-2015-9236
  • Assigner
  • support@hackerone.com
  • Vulnerability Status
  • Modified
  • Published Version
  • 2018-05-31T20:29:00
  • Last Modified Date
  • 2019-10-09T23:15:57
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:hapijs:hapi:*:*:*:*:*:node.js:*:* 1 OR 11.0.0
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • LOW
  • Availability Impact
  • NONE
  • Base Score
  • 5.3
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 3.9
  • Impact Score
  • 1.4
References
Reference URL Reference Tags
https://nodesecurity.io/advisories/45 Third Party Advisory
https://github.com/hapijs/hapi/issues/2850 Release Notes Third Party Advisory
https://github.com/hapijs/hapi/issues/2840 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 17:14:40 Added to TrackCVE
2022-12-03 06:51:22 cve-assignments@hackerone.com support@hackerone.com CVE Assigner updated
2022-12-03 06:51:22 2018-05-31T20:29Z 2018-05-31T20:29:00 CVE Published Date updated
2022-12-03 06:51:22 2019-10-09T23:15:57 CVE Modified Date updated
2022-12-03 06:51:22 Modified Vulnerability Status updated