Bug 2507986 - CVE-2026-18047 dogtag-pki: pki: ACME admin enable/disable endpoint authentication bypass via trailing slash [fedora-all]
Summary: CVE-2026-18047 dogtag-pki: pki: ACME admin enable/disable endpoint authentica...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: dogtag-pki
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Endi Sukma Dewata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["e431dc08-fd88-4b4c-a63c-7...
Depends On:
Blocks: CVE-2026-18047
TreeView+ depends on / blocked
 
Reported: 2026-07-28 12:40 UTC by Samuele Negrini
Modified: 2026-07-28 14:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Samuele Negrini 2026-07-28 12:40:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Dogtag PKI's ACME responder. The web.xml security constraints protecting the admin-only /v1/enable and /v1/disable endpoints use exact URL pattern matching (/v1/enable and /v1/disable). Due to a path normalization inconsistency between Tomcat's security constraint matching (which requires exact path match per Servlet spec §12.2) and RESTEasy's JAX-RS path routing (which normalizes trailing slashes), a request to /v1/enable/ bypasses the authentication constraint while still being routed to ACMEEnableService.handlePOST(). Neither ACMEEnableService nor ACMEDisableService performs application-level authorization checks — they directly call database.setEnabled(true/false). An unauthenticated remote attacker can exploit this to enable or disable ACME services, allowing persistent denial of service by repeatedly disabling the service, or re-enabling a service that was intentionally disabled by an administrator.

Comment 1 Marco Fargetta 2026-07-28 14:41:49 UTC
Upstream fix: https://github.com/dogtagpki/pki/pull/5406


Note You need to log in before you can comment on or make changes to this bug.