{"id":"CVE-2026-63672","aliases":["GHSA-pr4x-6fj4-gm4h"],"url":"https://o3.security/vulnerability/CVE-2026-63672","summary":"EGroupware: User-Controlled Identity Provider Selection in SAML Authentication","details":"### Summary\nThe 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.\n\n### PoC\n```php\n//api/src/Auth/Saml.php\nfunction login()\n\t{\n\t\t// login (redirects to IdP)\n\t\t$as = new SimpleSAML\\Auth\\Simple(self::$auth_source);\n\t\t$as->requireAuth(preg_match('|^https://|', $_REQUEST['idp']) ?\n\t\t\t['saml:idp' => $_REQUEST['idp']] : []);\n\n```\n\n### Impact\nAn 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.\n\n### Remediation\nValidate 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().","published":"2026-11-16T20:00:50.727Z","modified":"2026-11-17T21:01:08.247261105Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"egroupware/egroupware","fixedVersion":"23.1.20260601"},{"ecosystem":"Packagist","name":"egroupware/egroupware","fixedVersion":"26.6.20260616"}],"fix":{"url":"https://github.com/EGroupware/egroupware/commit/a87be9c177eaa9ac392f02fce45df833f638a7af","label":"EGroupware/egroupware@a87be9c"},"references":[{"type":"WEB","url":"https://github.com/EGroupware/egroupware/releases/tag/23.1.20260601"},{"type":"WEB","url":"https://github.com/EGroupware/egroupware/releases/tag/26.6.20260616"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63672.json"},{"type":"ADVISORY","url":"https://github.com/EGroupware/egroupware/security/advisories/GHSA-pr4x-6fj4-gm4h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63672"},{"type":"FIX","url":"https://github.com/EGroupware/egroupware/commit/a87be9c177eaa9ac392f02fce45df833f638a7af"},{"type":"FIX","url":"https://github.com/EGroupware/egroupware/commit/ec78ff4336d796fbe7803b0a4ab16e8388a1f81c"},{"type":"PACKAGE","url":"https://github.com/EGroupware/egroupware"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-17T21:01:08.247261105Z"}}