GHSA-pr4x-6fj4-gm4h

    Dashboard / Vulnerabilities / GHSA-pr4x-6fj4-gm4h

    GHSA-pr4x-6fj4-gm4h

    Published: 17 Nov 2026Last Modified: 17 Nov 2026

    Summary: EGroupware: User-Controlled Identity Provider Selection in SAML Authentication

    Details: ### 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

    Package

    Name: egroupware/egroupware

    Purl: pkg:composer/egroupware/egroupware

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -23.1.20260601

    Affected versions

    14.2.20150121
    14.2.20150206
    14.2.20150210
    14.2.20150212
    14.2.20150218
    14.2.20150310
    14.2.20150402
    14.2.20150421
    14.2.20150428
    14.2.20150429
    14.2.20150501
    14.2.20150603
    14.2.20150707
    14.2.20150717

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High