Authentication Bypass Vulnerability in libapache2-mod-auth-openidc

libapache2-mod-auth-openidc Updated 02 Oct 2025

Summary

02/03/2017
N/A
Yes i
High
8.6

CVE-2017-6062: The "OpenID Connect Relying Party and OAuth 2.0 Resource Server" (aka mod_auth_openidc) module before 2.1.5 for the Apache HTTP Server does not skip OIDC_CLAIM_ and OIDCAuthNHeader headers in an "OIDCUnAuthAction pass" c... Affects libapache2-mod-auth-openidc across 2 version ranges.

< 2.1.5-1 < e81822a7d5f5bdf04ba03ca92680821893303850

Fixed in 2.1.5-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The libapache2-mod-auth-openidc module is an OpenID Connect Relying Party and OAuth 2.0 Resource Server for the Apache HTTP Server. It enables web applications to authenticate users via OpenID Connect, providing a secure method for user authentication and authorization. However, prior to version 2.1.5, this module is susceptible to a critical vulnerability that allows attackers to bypass authentication mechanisms.

Vulnerability Detail

The vulnerability, identified as CVE-2017-6062, arises from the failure of the libapache2-mod-auth-openidc module to properly handle OIDC_CLAIM_ and OIDCAuthNHeader headers in configurations that utilize 'OIDCUnAuthAction pass'. This oversight permits remote attackers to exploit crafted HTTP traffic to bypass authentication, potentially leading to unauthorized access to sensitive resources. The vulnerability has a CVSS score of 8.6, indicating a high severity level.

How To Fix

Minimum fixed version

2.1.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libapache2-mod-auth-openidc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can modify the configuration to avoid using 'OIDCUnAuthAction pass' until the module is updated. This may involve changing the authentication flow or implementing additional access controls to mitigate the risk of unauthorized access.

Conclusion

The CVE-2017-6062 vulnerability in the libapache2-mod-auth-openidc module poses a significant risk by allowing authentication bypass through crafted HTTP requests. It is crucial for users of this module to upgrade to version 2.1.5-1 or later to ensure the security of their applications. Temporary workarounds can be implemented until an upgrade is feasible.

See every vulnerability recorded for libapache2-mod-auth-openidc →

Share this vulnerability

FAQ

CVE-2017-6062 is a vulnerability in the libapache2-mod-auth-openidc module that allows remote attackers to bypass authentication through crafted HTTP requests.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Exploitation of this vulnerability could lead to unauthorized access to applications that rely on the libapache2-mod-auth-openidc module for user authentication, potentially compromising sensitive data.

Yes, the vulnerability has been addressed in version 2.1.5-1 of the libapache2-mod-auth-openidc module. Upgrading to this version or later will mitigate the risk.

If immediate upgrading is not possible, consider implementing a workaround by avoiding the use of 'OIDCUnAuthAction pass' in your configuration to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for libapache2-mod-auth-openidc.

How To Fix

Minimum fixed version

2.1.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libapache2-mod-auth-openidc

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback