Bug 1206441 (CVE-2022-23527) - VUL-0: CVE-2022-23527: apache2-mod_auth_openidc: Open Redirect in oidc_validate_redirect_url() using tab character
Summary: VUL-0: CVE-2022-23527: apache2-mod_auth_openidc: Open Redirect in oidc_valida...
Status: RESOLVED FIXED
Alias: CVE-2022-23527
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/350733/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-23527:5.4:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 09:16 UTC by Thomas Leroy
Modified: 2024-05-03 09:33 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leroy 2022-12-15 09:16:44 UTC
rh#2153655

mod_auth_openidc is an OpenID Certified™ authentication and authorization module for the Apache 2.x HTTP server. Versions prior to 2.4.12.2 are vulnerable to Open Redirect. When providing a logout parameter to the redirect URI, the existing code in oidc_validate_redirect_url() does not properly check for URLs that start with /\t, leading to an open redirect. This issue has been patched in version 2.4.12.2. Users unable to upgrade can mitigate the issue by configuring mod_auth_openidc to only allow redirection when the destination matches a given regular expression with OIDCRedirectURLsAllowed.

Upstream fix:
https://github.com/zmartzone/mod_auth_openidc/commit/87119f44b9a88312dbc1f752d720bcd2371b94a8

https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53
https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984

References:
https://bugzilla.redhat.com/show_bug.cgi?id=2153655
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-23527
https://www.cve.org/CVERecord?id=CVE-2022-23527
https://github.com/zmartzone/mod_auth_openidc/security/advisories/GHSA-q6f2-285m-gr53
https://github.com/zmartzone/mod_auth_openidc/blob/v2.4.12.1/auth_openidc.conf#L975-L984
Comment 1 Thomas Leroy 2022-12-15 09:17:37 UTC
Affected:
- SUSE:SLE-12-SP4:Update
- SUSE:SLE-15-SP1:Update
- openSUSE:Factory
Comment 5 Swamp Workflow Management 2023-01-30 20:18:26 UTC
SUSE-SU-2023:0215-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (moderate)
Bug References: 1190223,1199868,1206441
CVE References: CVE-2021-39191,CVE-2022-23527
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    apache2-mod_auth_openidc-2.3.8-150100.3.22.1
SUSE Linux Enterprise Realtime Extension 15-SP3 (src):    apache2-mod_auth_openidc-2.3.8-150100.3.22.1
SUSE Linux Enterprise Module for Server Applications 15-SP4 (src):    apache2-mod_auth_openidc-2.3.8-150100.3.22.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Robert Frohl 2024-05-03 09:33:31 UTC
done, closing