PT-2019-7013

CVE-2013-7370

·

Published

2019-12-11

·

Updated

2020-08-31

Description by

CVSS 3.1
6.1
Medium
MetricsAV: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.1
Description The issue arises from the "methodOverride" middleware in Connect, which allows HTTP POST requests to override the method of the request using the method post key or the x-http-method-override header. Since user post input is not properly checked, req.method can contain any value. When this value does not match common method verbs, Connect responds with a 404 page containing the "Cannot [method] [url]" content, where the method is not properly encoded for browser output. This can lead to XSS attacks, as demonstrated by an example where a malicious script is injected through the method parameter.
Recommendations Update to the newest version of Connect. Disable the methodOverride middleware to prevent exploitation.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3FW8-66WF-PR7M
Found an issue in the description? Have something to add? Feel free to write us 👾