PT-2018-4550 · Hapi · Hapi
Hueniverse
·
Published
2018-05-31
·
Updated
2019-10-09
·
CVE-2015-9236
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Hapi versions prior to 11.0.0
Description
The issue arises from incorrect CORS implementation in affected versions, leading to inconsistent headers and potentially allowing cross-origin activities that should be forbidden. Specifically, when CORS is enabled for the connection but disabled for a non-GET route, the OPTIONS prefetch request returns default CORS headers, and the subsequent actual request proceeds without returning CORS headers, thus defeating the purpose of CORS configuration on the route.
Recommendations
Update to version 11.0.0 or later.
Fix
Information Disclosure
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Hapi