p PatchFirst

CVE-2023-41081

CVE-2023-41081 · Apache Tomcat Connectors: Unexpected use of first declared worker in mod_jk for unmapped request

CVSS 7.5 · High · EPSS 1.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libapache-mod-jk"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

Published
Updated

Fixes in distributions

  • USN-8369-2 · Ubuntu Pro 16.04 LTS ·
  • SUSE-SU-2025:0102-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Server Applications 15 SP6 ·
  • RHSA-2024:2387 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2023:7625 · Red Hat jboss core services 1 el7, Red Hat jboss core services 1 el8 ·
  • USN-6826-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS ·
  • ALSA-2024:2387 · AlmaLinux 9 ·
  • SUSE-SU-2024:1198-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5 ·
  • DLA-3580-1 · Debian 10 ·

Stack: system

Affected products and versions

  • apache tomcat connectors

    Versions
    • ≥ 1.2.0, ≤ 1.2.48: Affected (semver)

    No fix published

  • libapache-mod-jk Debian 12

    Versions
    • 1:1.2.48-2
    Affected ranges
    • ECOSYSTEM: < 1:1.2.48-2+deb12u1

    Update to 1:1.2.48-2+deb12u1

  • libapache-mod-jk Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:1.2.49-1

    Update to 1:1.2.49-1

  • libapache-mod-jk Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:1.2.49-1

    Update to 1:1.2.49-1

  • libapache-mod-jk Ubuntu Pro 16.04 LTS

    Versions
    • 1:1.2.40+svn150520-1
    • 1:1.2.41-1
    Affected ranges
    • ECOSYSTEM: < 1:1.2.41-1ubuntu0.1~esm1

    Update to 1:1.2.41-1ubuntu0.1~esm1

  • libapache-mod-jk Ubuntu Pro 18.04 LTS

    Versions
    • 1:1.2.42-1
    • 1:1.2.43-1
    Affected ranges
    • ECOSYSTEM: < 1:1.2.43-1ubuntu0.1~esm1

    Update to 1:1.2.43-1ubuntu0.1~esm1

  • libapache-mod-jk Ubuntu 20.04 LTS

    Versions
    • 1:1.2.46-1
    Affected ranges
    • ECOSYSTEM: < 1:1.2.46-1ubuntu0.1

    Update to 1:1.2.46-1ubuntu0.1

  • libapache-mod-jk Ubuntu 22.04 LTS

    Versions
    • 1:1.2.48-1
    Affected ranges
    • ECOSYSTEM: < 1:1.2.48-1ubuntu0.1

    Update to 1:1.2.48-1ubuntu0.1

Original sources

Check your server →