Vulnerability in tomcat7
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2017-5664 has been found in tomcat7.
Data can be tampered with by attackers.
What to do: upgrade tomcat7 to 7.0.52-1ubuntu0.13 or later.
If unsure, ask your IT team or search "tomcat7 UBUNTU-CVE-2017-5664" on the vendor's site.
UBUNTU-CVE-2017-5664 (tomcat7)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 7.0.52-1ubuntu0.13 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in tomcat7.
Check the vendor advisory for the affected versions of tomcat7.
Severity: ?. Data can be tampered with by attackers.
Update to 7.0.52-1ubuntu0.13.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'tomcat7' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'tomcat7' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
tomcat7を grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade tomcat7 to 7.0.52-1ubuntu0.13ステージング環境で 7.0.52-1ubuntu0.13 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTStomcat7 |
< 7.0.52-1ubuntu0.13→ 7.0.52-1ubuntu0.13 |
7.0.52-1ubuntu0.13 |
| Ubuntu:Pro:14.04:LTStomcat6 |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTStomcat8 |
< 8.0.32-1ubuntu1.5→ 8.0.32-1ubuntu1.5 |
8.0.32-1ubuntu1.5 |
| Ubuntu:Pro:16.04:LTStomcat7 |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
The error page mechanism of the Java Servlet Specification requires that, when an error occurs and an error page is configured for the error that occurred, the original request and response are forwarded to the error page. This means that the request is presented to the error page with the original HTTP method. If the error page is a static file, expected behaviour is to serve content of the file as if processing a GET request, regardless of the actual HTTP method. The Default Servlet in Apache Tomcat 9.0.0.M1 to 9.0.0.M20, 8.5.0 to 8.5.14, 8.0.0.RC1 to 8.0.43 and 7.0.0 to 7.0.77 did not do this. Depending on the original request this could lead to unexpected and undesirable results for static error pages including, if the DefaultServlet is configured to permit writes, the replacement or removal of the custom error page. Notes for other user provided error pages: (1) Unless explicitly coded otherwise, JSPs ignore the HTTP method. JSPs used as error pages must must ensure that they handle any error dispatch as a GET request, regardless of the actual method. (2) By default, the response generated by a Servlet does depend on the HTTP method. Custom Servlets used as error pages must ensure that they handle any error dispatch as a GET request, regardless of the actual method.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report lists.apache.org
- report apt.inguza.net
- report cve.org