UBUNTU-CVE-2025-31492

Source
https://ubuntu.com/security/CVE-2025-31492
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-31492.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-31492
Related
Published
2025-04-06T20:15:00Z
Modified
2025-04-24T16:37:45Z
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

Ubuntu:Pro:18.04:LTS / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.3.3-1build1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.6-1
2.3.1-2
2.3.2-1
2.3.2-1build1
2.3.3-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.4.1-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.3.10.2-1
2.4.0.4-1
2.4.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.4.11-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.4.9-1
2.4.9.4-1
2.4.10-1
2.4.10-1build1
2.4.11-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4.11-1ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc"
        },
        {
            "binary_version": "2.4.11-1ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc-dbgsym"
        }
    ]
}

Ubuntu:24.10 / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.4.15.7-2ubuntu0.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.15.7-2ubuntu0.1

Affected versions

2.*

2.4.15.1-1build3
2.4.15.7-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4.15.7-2ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc"
        },
        {
            "binary_version": "2.4.15.7-2ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.4.15.1-1ubuntu0.1?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*

2.4.14.2-1
2.4.14.4-2
2.4.14.4-2build1
2.4.15.1-1
2.4.15.1-1build2
2.4.15.1-1build3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4.15.1-1ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc"
        },
        {
            "binary_version": "2.4.15.1-1ubuntu0.1",
            "binary_name": "libapache2-mod-auth-openidc-dbgsym"
        }
    ]
}

Ubuntu:25.04 / libapache2-mod-auth-openidc

Package

Name
libapache2-mod-auth-openidc
Purl
pkg:deb/ubuntu/libapache2-mod-auth-openidc@2.4.16.10-1ubuntu1?arch=source&distro=plucky

Affected ranges

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

Affected versions

2.*

2.4.15.7-2
2.4.16.5-1
2.4.16.6-1
2.4.16.7-1
2.4.16.8-1
2.4.16.10-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4.16.10-1ubuntu1",
            "binary_name": "libapache2-mod-auth-openidc"
        },
        {
            "binary_version": "2.4.16.10-1ubuntu1",
            "binary_name": "libapache2-mod-auth-openidc-dbgsym"
        }
    ]
}