CVE-2015-9243: hapi - CORS Misconfiguration
- Cve: CVE-2015-9243
- Name: hapi - CORS Misconfiguration
- Description: When server level, connection level or route level CORS configurations in hapi node module before 11.1.4 are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins `*`).
- Impact: Attackers can bypass origin restrictions, potentially leading to cross-site request forgery or data theft.
- Remediation: Update to version 11.1.4 or later to ensure proper CORS configuration handling.
- Vulnerability type: cors_misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.01003
- Epss percentile: 0.63802
- Assignee: [email protected]
- Published at: 2018-05-29T20:29:00Z
- Age in days: 3101
- Modified at: 2026-06-17T00:36:07Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-9243
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
| CWE-254 | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/hapijs/hapi/issues/2980 | nvd | 2018-05-29 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/hapijs/hapi/issues/2980 | nvd | Exploit, Issue Tracking, Third Party Advisory |
| https://nodesecurity.io/advisories/65 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hapijs:hapi | < 11.1.4 | no | nvd | /v1/products/hapijs/hapi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hapijs/hapi | issues | yes | /v1/repositories/hapijs/hapi |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-05-29
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts