CVE-2025-3891: Mod_auth_openidc: dos via empty post in mod_auth_openidc with oidcpreservepost enabled

Published Apr 22, 2025
·
Updated

A flaw was found in the modauthopenidc module for Apache httpd. This flaw allows a remote, unauthenticated attacker to trigger a denial of service by sending an empty POST request when the OIDCPreservePost directive is enabled. The server crashes consistently, affecting availability.

Other sources

An unauthenticated attacker can crash the Apache httpd process by sending an empty POST request when OIDCPreservePost is enabled in modauthopenidc. This leads to denial of service.

Red Hat

Affected Software

9 affected componentsFixes available
Apache httpd
Apache mod_auth_openidc
Apache HTTP Server
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Debian Debian Linux=11.0
debian/libapache2-mod-auth-openidc<=2.4.9.4-0+deb11u4
2.4.9.4-0+deb11u62.4.12.3-2+deb12u42.4.17-12.4.18.1-1
debian/libapache2-mod-auth-openidc<=2.4.12.3-2+deb12u3, <=2.4.12.3-2, <=2.3.10.2-1
2.4.12.3-2+deb12u42.4.9.4-0+deb11u62.4.14.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libapache2-mod-auth-openidc to a version that resolves this vulnerability.

    Fixed in 2.4.9.4-0+deb11u6Fixed in 2.4.12.3-2+deb12u4Fixed in 2.4.17-1Fixed in 2.4.18.1-1
  2. Upgrade

    Upgrade debian/libapache2-mod-auth-openidc to a version that resolves this vulnerability.

    Fixed in 2.4.12.3-2+deb12u4Fixed in 2.4.9.4-0+deb11u6Fixed in 2.4.14.2-1

Event History

Apr 22, 2025
Data Sourced
via Red Hat·11:20 AM
DescriptionSeverityAffected Software
Apr 29, 2025
CVE Published
via MITRE·11:56 AM
Data Sourced
via MITRE·11:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
May 1, 2025
Data Sourced
via Debian·07:21 AM
SeverityAffected Software
Oct 10, 2025
Data Sourced
via Debian·12:37 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-3891?

CVE-2025-3891 is considered a critical vulnerability that allows remote, unauthenticated attackers to trigger a denial of service.

2

How do I fix CVE-2025-3891?

To mitigate CVE-2025-3891, disable the OIDCPreservePost directive in the mod_auth_openidc configuration for Apache httpd.

3

What impact does CVE-2025-3891 have on my system?

CVE-2025-3891 can cause the Apache server to crash, resulting in a loss of availability for services relying on it.

4

Which versions of Apache httpd are affected by CVE-2025-3891?

CVE-2025-3891 affects all versions of Apache httpd that utilize the mod_auth_openidc module with the OIDCPreservePost directive enabled.

5

Can CVE-2025-3891 be exploited remotely?

Yes, CVE-2025-3891 can be exploited remotely by an unauthenticated attacker sending an empty POST request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203