Back to CVE catalog
CVE-2015-9236

Incorrect CORS implementation in Hapi

HackerOne hapi node module

At a glance

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 description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS summary v3.0

5.3Medium
Published:
Updated:
EPSS:
1.488%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:HackerOnehapi node moduleAffected versions:
<11.0.0
Vendor:hapijshapi
Environments (1)
  • node.js
Affected versions:
< 11.0.0
Vendor:npmhapiAffected versions:
< 11.0.0
Vendor:hapijshapiAffected versions:
< 11.0.0Show full version range for hapi
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–4 of 4 · Page 1 of 1

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary5.3 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvd · Wazuh CTI (cna)5.3 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences