CVE-2025-31492

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-31492
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-31492.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-31492
Aliases
  • GHSA-59jp-rwph-878r
Related
Published
2025-04-06T20:15:15Z
Modified
2025-04-17T22:04:24.286818Z
Downstream
Summary
[none]
Details

modauthopenidc is an OpenID Certified authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. Prior to 2.4.16.11, a bug in a modauthopenidc results in disclosure of protected content to unauthenticated users. The conditions for disclosure are an OIDCProviderAuthRequestMethod POST, a valid account, and there mustn't be any application-level gateway (or load balancer etc) protecting the server. When you request a protected resource, the response includes the HTTP status, the HTTP headers, the intended response (the self-submitting form), and the protected resource (with no headers). This is an example of a request for a protected resource, including all the data returned. In the case where modauthopenidc returns a form, it has to return OK from checkuserid so as not to go down the error path in httpd. This means httpd will try to issue the protected resource. oidccontenthandler is called early, which has the opportunity to prevent the normal output being issued by httpd. oidccontenthandler has a number of checks for when it intervenes, but it doesn't check for this case, so the handler returns DECLINED. Consequently, httpd appends the protected content to the response. The issue has been patched in modauth_openidc versions >= 2.4.16.11.

References

Affected packages

Debian:11 / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/debian/libapache2-mod-auth-openidc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.9.4-0+deb11u5

Affected versions

2.*

2.4.9-1
2.4.9.4-0+deb11u1
2.4.9.4-0+deb11u2
2.4.9.4-0+deb11u3
2.4.9.4-0+deb11u4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/debian/libapache2-mod-auth-openidc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.12.3-2+deb12u3

Affected versions

2.*

2.4.12.3-2
2.4.12.3-2+deb12u1
2.4.12.3-2+deb12u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/debian/libapache2-mod-auth-openidc?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.16.11-1

Affected versions

2.*

2.4.12.3-2
2.4.14.2-1
2.4.14.4-1
2.4.14.4-2
2.4.15.1-1
2.4.15.7-1
2.4.15.7-2
2.4.16-1
2.4.16.1-1
2.4.16.2-1
2.4.16.4-1
2.4.16.5-1
2.4.16.6-1
2.4.16.7-1
2.4.16.8-1
2.4.16.9-1
2.4.16.10-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/openidc/mod_auth_openidc

Affected ranges

Type
GIT
Repo
https://github.com/openidc/mod_auth_openidc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.3.11rc1

v1.*

v1.5
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.6.0
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.8.0
v1.8.1
v1.8.10
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.7
v1.8.8
v1.8.9

v2.*

v2.0.0
v2.0.0rc1
v2.0.0rc4
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0
v2.3.0
v2.3.0rc0
v2.3.0rc3
v2.3.1
v2.3.10
v2.3.10.1
v2.3.10.2
v2.3.11
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v2.3.7
v2.3.8
v2.3.9
v2.4.0
v2.4.0.1
v2.4.0.2
v2.4.0.3
v2.4.0.4
v2.4.1
v2.4.10
v2.4.11
v2.4.11.1
v2.4.11.2
v2.4.11.3
v2.4.12
v2.4.12.1
v2.4.12.2
v2.4.12.3
v2.4.13
v2.4.13.1
v2.4.13.2
v2.4.14
v2.4.14.1
v2.4.14.2
v2.4.14.3
v2.4.14.4
v2.4.15
v2.4.15.1
v2.4.15.2
v2.4.15.3
v2.4.15.4
v2.4.15.5
v2.4.15.6
v2.4.15.7
v2.4.16
v2.4.16.1
v2.4.16.10
v2.4.16.2
v2.4.16.3
v2.4.16.4
v2.4.16.5
v2.4.16.6
v2.4.16.7
v2.4.16.8
v2.4.16.9
v2.4.2
v2.4.2.1
v2.4.3
v2.4.4
v2.4.4.1
v2.4.5
v2.4.6
v2.4.7
v2.4.7.1
v2.4.7.2
v2.4.8.1
v2.4.8.2
v2.4.8.3
v2.4.8.4
v2.4.9
v2.4.9.1
v2.4.9.2
v2.4.9.3
v2.4.9.4