Vulnerability · Published Jun 23, 2022 · Assigned by apache
CVE-2022-34305XSS in examples web application
Medium 6.1
In plain English
A medium-severity cross-site scripting in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.7% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)6.7%top 6.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei
Official description
In Apache Tomcat 10.1.0-M1 to 10.1.0-M16, 10.0.0-M1 to 10.0.22, 9.0.30 to 9.0.64 and 8.5.50 to 8.5.81 the Form authentication example in the examples web application displayed user provided data without filtering, exposing a XSS vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tomcat9 | 9.0.65-1 | DEBIAN-CVE-2022-34305 |
| Debian:13 | tomcat9 | 9.0.65-1 | DEBIAN-CVE-2022-34305 |
| Debian:14 | tomcat9 | 9.0.65-1 | DEBIAN-CVE-2022-34305 |
| Maven | org.apache.tomcat:tomcat | 10.1.0-M17 | GHSA-6j88-6whg-x687 |
| Maven | org.apache.tomcat:tomcat | 8.5.82 | GHSA-6j88-6whg-x687 |
| Maven | org.apache.tomcat:tomcat | 10.0.22 | GHSA-6j88-6whg-x687 |
| Maven | org.apache.tomcat:tomcat | 9.0.65 | GHSA-6j88-6whg-x687 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 8.5 8.5.50 to 8.5.81Apache Tomcat 9 9.0.30 to 9.0.64Apache Tomcat 10.0 10.0.0-M1 to 10.0.22Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M16 |
Weakness: CWE-79
References
- https://lists.apache.org/thread/k04zk0nq6w57m72w5gb0r6z9ryhmvr4k x_refsource_MISC
- [oss-security] 20220623 CVE-2022-34305: Apache Tomcat: XSS in examples web application mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20220729-0006/ x_refsource_CONFIRM
- GLSA-202208-34 vendor-advisory, x_refsource_GENTOO