VulnWatch by ve1ve2
medium 6.1 EPSS 0.20%

GHSA-pr4x-6fj4-gm4h / CVE-2026-63672: EGroupware: User-Controlled Identity Provider Selection in SAML Authentication

Source:
GitHub Security Advisories
Published:
Fetched:
Updated:
Affects:
php egroupware/egroupware

https://github.com/advisories/GHSA-pr4x-6fj4-gm4h ↗

ghsacomposerCWE-601

EGroupware: User-Controlled Identity Provider Selection in SAML Authentication ### Summary The login() function at line 130 passes the raw user-supplied value `$_REQUEST['idp']` directly to SimpleSAMLphp's `requireAuth()` with only a regex check that the string starts with 'https://'. No validation is performed against a list of configured, trusted IdP entity IDs. An unauthenticated attacker can supply any HTTPS URL pointing to an IdP they control. ### PoC ```php //api/src/Auth/Saml.php function login() { // login (redirects to IdP) $as = new SimpleSAML\Auth\Simple(self::$auth_source); $as->requireAuth(preg_match('|^https://|', $_REQUEST['idp']) ? ['saml:idp' => $_REQUEST['idp']] : []); ``` ### Impact An attacker can redirect authentication to a malicious IdP to capture credentials via phishing, or, if the SimpleSAMLphp configuration does not strictly validate IdP metadata, issue forged SAML assertions to authenticate as any user, including administrators. ### Remediation Validate the idp request parameter against a pre-configured whitelist of trusted IdP entity IDs stored in the application's SAML configuration. Reject and log any idp value not explicitly present in the trusted list before calling requireAuth(). Affected packages: composer:egroupware/egroupware Patched: egroupware/egroupware 23.1.20260601, egroupware/egroupware 26.6.20260616

Linked vulnerabilities (2)

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EGroupware: User-Controlled Identity Provider Selection in SAML Authentication

CWE: CWE-601Aliases: CVE-2026-63672
CVE-2026-63672 medium 6.1 EPSS 0.20% (p10) NVDCVE.orgGHSA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EGroupware: User-Controlled Identity Provider Selection in SAML Authentication

CWE: CWE-601Aliases: GHSA-pr4x-6fj4-gm4hNVD: Deferred

Also reported by (1)