PT-2019-7014 · Sencha · Node-Connect
Published
2019-12-11
·
Updated
2022-05-05
·
CVE-2013-7371
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
node-connect versions prior to 2.8.2
Description
The issue is related to cross-site scripting in Sencha Labs Connect middleware due to an incomplete fix. Connect is a stack of middleware executed in order for each request. The
methodOverride middleware allows HTTP POST to override the request method with the value of the method post key or the x-http-method-override header. Since user post input was not checked, req.method could contain any value, leading to a 404 page with unencoded method output in the browser, allowing for potential cross-site scripting attacks.Recommendations
Update to the newest version of Connect.
Disable
methodOverride middleware to mitigate the risk.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Node-Connect