Sails CORS origin reflection
HackerOne sails node module
At a glance
Sails is an MVC style framework for building realtime web applications. Version 0.12.7 and lower have an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 0.624%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:HackerOne | sails node module | Affected versions: <=0.12.7 |
| Vendor:sailsjs | sailsEnvironments (1)
| Affected versions: ≤ 0.12.7 |
| Vendor:npm | sails | Affected versions: < 0.12.7 |
| Vendor:sailsjs | sails | Affected versions:≤ 0.12.7Show full version range for sails
|
1–4 of 4 · Page 1 of 1
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary4.4 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:NCVE-2016-10549 · OSV (source-vector)4.4 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:Nnvd · Wazuh CTI (cna)4.4 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N[email protected] · NVD (Primary)2.1 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:H/Au:S/C:N/I:P/A:Nnvd · Wazuh CTI (cna)2.1 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:H/Au:S/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
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