CVE-2023-41081 Apache Tomcat Connectors: Unexpected use of first declared worker in mod_jk for unmapped request
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
Important: Authentication Bypass CVE-2023-41081
The mod_jk component of Apache Tomcat Connectors in some circumstances, such as when a configuration included "JkOptions +ForwardDirectories" but the configuration did not provide explicit mounts for all possible proxied requests, mod_jk would use an implicit mapping and map the request to the first defined worker. Such an implicit mapping could result in the unintended exposure of the status worker and/or bypass security constraints configured in httpd. As of JK 1.2.49, the implicit mapping functionality has been removed and all mappings must now be via explicit configuration. Only mod_jk is affected by this issue. The ISAPI redirector is not affected.
This issue affects Apache Tomcat Connectors (mod_jk only): from 1.2.0 through 1.2.48.
Users are recommended to upgrade to version 1.2.49, which fixes the issue.
History
2023-09-13 Original advisory
2023-09-28 Updated summary
Upgrade path
9 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache Tomcat Connectors | >= 1.2.0, <= 1.2.48 | after 1.2.48 | Fixed |
| apache tomcat connectors | >= 1.2.0, < 1.2.49; >= 1.2.0, <= 1.2.48 | 1.2.49 | Fixed |
| debian/libapache-mod-jk(Debian 12) | < 1:1.2.48-2+deb12u1; = 1:1.2.48-2 | 1:1.2.48-2+deb12u1 | Fixed |
| debian/libapache-mod-jk(Debian 13) | < 1:1.2.49-1 | 1:1.2.49-1 | Fixed |
| debian/libapache-mod-jk(Debian 14) | < 1:1.2.49-1 | 1:1.2.49-1 | Fixed |
| ubuntu/libapache-mod-jk(Ubuntu 20.04) | < 1:1.2.46-1ubuntu0.1; = 1:1.2.46-1 | 1:1.2.46-1ubuntu0.1 | Fixed |
| ubuntu/libapache-mod-jk(Ubuntu 22.04) | < 1:1.2.48-1ubuntu0.1; = 1:1.2.48-1 | 1:1.2.48-1ubuntu0.1 | Fixed |
| ubuntu/libapache-mod-jk(Ubuntu Pro 16.04) | < 1:1.2.41-1ubuntu0.1~esm1; = 1:1.2.40+svn150520-1; = 1:1.2.41-1 | 1:1.2.41-1ubuntu0.1~esm1 | Fixed |
| ubuntu/libapache-mod-jk(Ubuntu Pro 18.04) | < 1:1.2.43-1ubuntu0.1~esm1; = 1:1.2.42-1; = 1:1.2.43-1 | 1:1.2.43-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libapache-mod-jk(Debian:12) | < 1:1.2.48-2+deb12u1 | 1:1.2.48-2+deb12u1 |
| debian/libapache-mod-jk(Debian:12) | = 1:1.2.48-2 | No fix listed |
| debian/libapache-mod-jk(Debian:13) | < 1:1.2.49-1 | 1:1.2.49-1 |
| debian/libapache-mod-jk(Debian:14) | < 1:1.2.49-1 | 1:1.2.49-1 |
| Apache Tomcat Connectors | >= 1.2.0, <= 1.2.48 | No fix listed |
| apache tomcat connectors | >= 1.2.0, <= 1.2.48 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:22.04) | < 1:1.2.48-1ubuntu0.1 | 1:1.2.48-1ubuntu0.1 |
| apache tomcat connectors | >= 1.2.0, < 1.2.49 | 1.2.49 |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:16.04) | < 1:1.2.41-1ubuntu0.1~esm1 | 1:1.2.41-1ubuntu0.1~esm1 |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:16.04) | = 1:1.2.40+svn150520-1 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:16.04) | = 1:1.2.41-1 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:18.04) | < 1:1.2.43-1ubuntu0.1~esm1 | 1:1.2.43-1ubuntu0.1~esm1 |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:18.04) | = 1:1.2.42-1 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:Pro:18.04) | = 1:1.2.43-1 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:20.04) | < 1:1.2.46-1ubuntu0.1 | 1:1.2.46-1ubuntu0.1 |
| ubuntu/libapache-mod-jk(Ubuntu:20.04) | = 1:1.2.46-1 | No fix listed |
| ubuntu/libapache-mod-jk(Ubuntu:22.04) | = 1:1.2.48-1 | No fix listed |
References
- Debian Security Tracker CVE-2023-41081 vendor-advisory
- lists.apache.org issue-tracking mailing-list vendor-advisory
- www.openwall.com
- lists.debian.org
- www.openwall.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6826-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- www.openwall.com issue-tracking
- tomcat.apache.org issue-tracking