GHSA-PR4X-6FJ4-GM4H
Vulnerability from github – Published: 2026-11-17 20:47 – Updated: 2026-11-17 20:47Summary
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
//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": [
{
"package": {
"ecosystem": "Packagist",
"name": "egroupware/egroupware"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "23.1.20260601"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "egroupware/egroupware"
},
"ranges": [
{
"events": [
{
"introduced": "26.0.20251208"
},
{
"fixed": "26.6.20260616"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-63672"
],
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-17T20:47:22Z",
"nvd_published_at": "2026-11-16T20:19:08Z",
"severity": "MODERATE"
},
"details": "### Summary\nThe login() function at line 130 passes the raw user-supplied value `$_REQUEST[\u0027idp\u0027]` directly to SimpleSAMLphp\u0027s `requireAuth()` with only a regex check that the string starts with \u0027https://\u0027. 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-\u003erequireAuth(preg_match(\u0027|^https://|\u0027, $_REQUEST[\u0027idp\u0027]) ?\n\t\t\t[\u0027saml:idp\u0027 =\u003e $_REQUEST[\u0027idp\u0027]] : []);\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\u0027s SAML configuration. Reject and log any idp value not explicitly present in the trusted list before calling requireAuth().",
"id": "GHSA-pr4x-6fj4-gm4h",
"modified": "2026-11-17T20:47:22Z",
"published": "2026-11-17T20:47:22Z",
"references": [
{
"type": "WEB",
"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": "WEB",
"url": "https://github.com/EGroupware/egroupware/commit/a87be9c177eaa9ac392f02fce45df833f638a7af"
},
{
"type": "WEB",
"url": "https://github.com/EGroupware/egroupware/commit/ec78ff4336d796fbe7803b0a4ab16e8388a1f81c"
},
{
"type": "PACKAGE",
"url": "https://github.com/EGroupware/egroupware"
},
{
"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"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "EGroupware: User-Controlled Identity Provider Selection in SAML Authentication"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.