Publish Advisories

GHSA-ff4q-64jc-gx98
GHSA-qm44-wjm2-pr59
This commit is contained in:
advisory-database[bot]
2024-07-31 15:29:35 +00:00
parent 76ca4735f4
commit a4978f7951
2 changed files with 264 additions and 0 deletions
@@ -0,0 +1,191 @@
{
"schema_version": "1.4.0",
"id": "GHSA-ff4q-64jc-gx98",
"modified": "2024-07-31T15:28:55Z",
"published": "2024-07-31T15:28:54Z",
"aliases": [
"CVE-2024-39694"
],
"summary": "IdentityServer Open Redirect vulnerability",
"details": "### Impact\nIt is possible for an attacker to craft malicious Urls that certain functions in IdentityServer will incorrectly treat as local and trusted. If such a Url is returned as a redirect, some browsers will follow it to a third-party, untrusted site.\n\n_Note: by itself, this vulnerability does **not** allow an attacker to obtain user credentials, authorization codes, access tokens, refresh tokens, or identity tokens. An attacker could however exploit this vulnerability as part of a phishing attack designed to steal user credentials._\n\n### Affected Methods\n- In the `DefaultIdentityServerInteractionService`, the `GetAuthorizationContextAsync` method may return non-null and the `IsValidReturnUrl` method may return true for malicious Urls, indicating incorrectly that they can be safely redirected to.\n\n _UI code calling these two methods is the most commonly used code path that will expose the vulnerability. The default UI templates rely on this behavior in the Login, Challenge, Consent, and Account Creation pages. Customized user interface code might also rely on this behavior. The following uncommonly used APIs are also vulnerable:_\n\n- The `ServerUrlExtensions.GetIdentityServerRelativeUrl`, `ReturnUrlParser.ParseAsync` and `OidcReturnUrlParser.ParseAsync` methods may incorrectly return non-null, and the `ReturnUrlParser.IsValidReturnUrl` and `OidcReturnUrlParser.IsValidReturnUrl` methods may incorrectly return true for malicious Urls.\n\n### Patches\nThis vulnerability is fixed in the following versions of Duende.IdentityServer:\n- 7.0.6\n- 6.3.10\n- 6.2.5\n- 6.1.8\n- 6.0.5\n\nDuende.IdentityServer 5.1 and earlier and all versions of IdentityServer4 are no longer supported and will not be receiving updates. \n\n### Workarounds\n\nIf upgrading is not possible, use `IUrlHelper.IsLocalUrl` from ASP.NET Core 5.0 or later to validate return Urls in user interface code in the IdentityServer host. ",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "NuGet",
"name": "Duende.IdentityServer"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0.0-preview.1"
},
{
"fixed": "7.0.6"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 7.0.5"
}
},
{
"package": {
"ecosystem": "NuGet",
"name": "Duende.IdentityServer"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0-preview.1"
},
{
"fixed": "6.3.10"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 6.3.9"
}
},
{
"package": {
"ecosystem": "NuGet",
"name": "Duende.IdentityServer"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0-preview.1"
},
{
"fixed": "6.2.5"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 6.2.4"
}
},
{
"package": {
"ecosystem": "NuGet",
"name": "Duende.IdentityServer"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0-preview.1"
},
{
"fixed": "6.1.8"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 6.1.7"
}
},
{
"package": {
"ecosystem": "NuGet",
"name": "Duende.IdentityServer"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.0.0-preview.1"
},
{
"fixed": "6.0.5"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "<= 6.0.4"
}
},
{
"package": {
"ecosystem": "NuGet",
"name": "IdentityServer4"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.1.2"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/security/advisories/GHSA-ff4q-64jc-gx98"
},
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/commit/269ca2171fe1e901c87f2f0797bbc7c230db87c6"
},
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/commit/765116a2d4fb0671b6eba015e698533900c61c8e"
},
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/commit/d0d8eab35ad9183b14925496803ed8b36658d0a1"
},
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/commit/f04cf0be859b93f43563f8f812eb92206ad94011"
},
{
"type": "WEB",
"url": "https://github.com/DuendeSoftware/IdentityServer/commit/fe817b499933d6ed6141b153492d7335c28b184a"
},
{
"type": "PACKAGE",
"url": "https://github.com/DuendeSoftware/IdentityServer"
}
],
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-07-31T15:28:54Z",
"nvd_published_at": null
}
}
@@ -0,0 +1,73 @@
{
"schema_version": "1.4.0",
"id": "GHSA-qm44-wjm2-pr59",
"modified": "2024-07-31T15:27:11Z",
"published": "2024-07-31T15:27:11Z",
"aliases": [
"CVE-2024-39318"
],
"summary": "Ibexa Admin UI vulnerable to DOM-based Cross-site Scripting in file upload widget",
"details": "### Impact\nThe file upload widget is vulnerable to XSS payloads in filenames. Access permission to upload files is required. As such, in most cases only authenticated editors and administrators will have the required permission. It is not persistent, i.e. the payload is only executed during the upload. In effect, an attacker will have to trick an editor/administrator into uploading a strangely named file. The fix ensures XSS is escaped.\n\n### Patches\nSee \"Patched versions\". Commit: https://github.com/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e\n\n### Workarounds\nNone.\n\n### References\n- https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload\n- https://github.com/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e\n- https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh\n\n### Credit\nThis vulnerability was discovered and reported to Ibexa by Alec Romano: https://github.com/4rdr\nWe thank them for reporting it responsibly to us.\n\nHow to report security issues:\nhttps://doc.ibexa.co/en/latest/infrastructure_and_maintenance/security/reporting_issues/",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "ibexa/admin-ui"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.6.0-beta1"
},
{
"fixed": "4.6.9"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/ezsystems/ezplatform-admin-ui/security/advisories/GHSA-gc5h-6jx9-q2qh"
},
{
"type": "WEB",
"url": "https://github.com/ibexa/admin-ui/security/advisories/GHSA-qm44-wjm2-pr59"
},
{
"type": "WEB",
"url": "https://github.com/ibexa/admin-ui/commit/8dc413fad1045fcfbe65dbcb0bea8516accc4c3e"
},
{
"type": "WEB",
"url": "https://developers.ibexa.co/security-advisories/ibexa-sa-2024-004-dom-based-xss-in-file-upload"
},
{
"type": "PACKAGE",
"url": "https://github.com/ibexa/admin-ui"
}
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-07-31T15:27:11Z",
"nvd_published_at": null
}
}