ALAS-2017-810

Related Vulnerabilities: CVE-2016-6816   CVE-2016-8745  

It was discovered that the code that parsed the HTTP request line permittedinvalid characters. This could be exploited, in conjunction with a proxy thatalso permitted the invalid characters but with a different interpretation, toinject data into the HTTP response. By manipulating the HTTP response theattacker could poison a web-cache, perform an XSS attack, or obtain sensitiveinformation from requests other then their own. (CVE-2016-6816) Note: This fix causes Tomcat to respond with an HTTP 400 Bad Request error whenrequest contains characters that are not permitted by the HTTP specification toappear not encoded, even though they were previously accepted. The newlyintroduced system property tomcat.util.http.parser.HttpParser.requestTargetAllowcan be used to configure Tomcat to accept curly braces ({ and }) and the pipesymbol (|) in not encoded form, as these are often used in URLs without beingproperly encoded. * A bug was discovered in the error handling of the send file code for the NIOHTTP connector. This led to the current Processor object being added to theProcessor cache multiple times allowing information leakage between requestsincluding, and not limited to, session ID and the response body. (CVE-2016-8745)

ALAS-2017-810


Amazon Linux AMI Security Advisory: ALAS-2017-810
Advisory Release Date: 2017-03-29 16:48 Pacific
Advisory Updated Date: 2017-03-29 22:51 Pacific
Severity: Medium

Issue Overview:

It was discovered that the code that parsed the HTTP request line permitted
invalid characters. This could be exploited, in conjunction with a proxy that
also permitted the invalid characters but with a different interpretation, to
inject data into the HTTP response. By manipulating the HTTP response the
attacker could poison a web-cache, perform an XSS attack, or obtain sensitive
information from requests other then their own. (CVE-2016-6816)

Note: This fix causes Tomcat to respond with an HTTP 400 Bad Request error when
request contains characters that are not permitted by the HTTP specification to
appear not encoded, even though they were previously accepted. The newly
introduced system property tomcat.util.http.parser.HttpParser.requestTargetAllow
can be used to configure Tomcat to accept curly braces ({ and }) and the pipe
symbol (|) in not encoded form, as these are often used in URLs without being
properly encoded.

* A bug was discovered in the error handling of the send file code for the NIO
HTTP connector. This led to the current Processor object being added to the
Processor cache multiple times allowing information leakage between requests
including, and not limited to, session ID and the response body. (CVE-2016-8745)


Affected Packages:

tomcat6


Issue Correction:
Run yum update tomcat6 to update your system.

New Packages:
noarch:
    tomcat6-webapps-6.0.51-1.10.amzn1.noarch
    tomcat6-6.0.51-1.10.amzn1.noarch
    tomcat6-jsp-2.1-api-6.0.51-1.10.amzn1.noarch
    tomcat6-servlet-2.5-api-6.0.51-1.10.amzn1.noarch
    tomcat6-lib-6.0.51-1.10.amzn1.noarch
    tomcat6-el-2.1-api-6.0.51-1.10.amzn1.noarch
    tomcat6-docs-webapp-6.0.51-1.10.amzn1.noarch
    tomcat6-admin-webapps-6.0.51-1.10.amzn1.noarch
    tomcat6-javadoc-6.0.51-1.10.amzn1.noarch

src:
    tomcat6-6.0.51-1.10.amzn1.src