Back to CVE catalog
CVE-2016-10549

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

Attack complexityHigh
ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS summary v3.0

4.4Medium
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 and affected versions
Vendor:HackerOnesails node moduleAffected versions:
<=0.12.7
Vendor:sailsjssails
Environments (1)
  • node.js
Affected versions:
≤ 0.12.7
Vendor:npmsailsAffected versions:
< 0.12.7
Vendor:sailsjssailsAffected versions:
≤ 0.12.7Show full version range for sails
  • 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 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:N
CVE-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:N
nvd · 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:N
nvd · 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:N

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

Sources and advisories12

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