Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1091166 - (CVE-2013-7370) CVE-2013-7370 nodejs-connect: XSS via HTTP request with a crafted method containing JavaScript
CVE-2013-7370 nodejs-connect: XSS via HTTP request with a crafted method cont...
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20130701,repor...
: Security
Depends On: 1091167 1091168
Blocks: 1091169
  Show dependency treegraph
 
Reported: 2014-04-25 01:23 EDT by Kurt Seifried
Modified: 2014-12-01 03:13 EST (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-08-15 00:59:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kurt Seifried 2014-04-25 01:23:59 EDT
The Node Security Project reports:

methodOverride Middleware Reflected Cross-Site Scripting

Connect is a stack of middleware that is executed in order in each request.

The "methodOverride" middleware allows the http post to override the method of 
the request with the value of the "_method" post key or with the header 
"x-http-method-override".

Because the user post input was not checked, req.method could contain any kind 
of value. Because the req.method did not match any common method VERB, connect 
answered with a 404 page containing the "Cannot [method] [url]" content. The 
method was not properly encoded for output in the browser.

===

nodejs-connect 2.8.0 is vulnerable to this, an incomplete fix was applied, 
version 2.8.1 is also vulnerable, versions 2.8.2 and later have been corrected.

Please note that the first attempt to fix this was not complete and requires a
second fix:

First fix: https://github.com/senchalabs/connect/commit/277e5aad6a95d00f55571a9a0e11f2fa190d8135
Second fix: https://github.com/senchalabs/connect/commit/126187c4e12162e231b87350740045e5bb06e93a

The incomplete fix for this resulted in a second vulnerability referred to as 
CVE-2013-7371.

External references:
https://nodesecurity.io/advisories/methodOverride_Middleware_Reflected_Cross-Site_Scripting
https://github.com/senchalabs/connect/issues/831
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744374
http://seclists.org/oss-sec/2014/q2/151
Comment 3 Kurt Seifried 2014-08-15 00:59:15 EDT
Statement:

This issue affects the versions of nodejs-connect as shipped with Red Hat OpenShift Enterprise 2. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.