{"api_version":"1","generated_at":"2026-04-27T19:44:50+00:00","cve":"CVE-2020-5268","urls":{"html":"https://cve.report/CVE-2020-5268","api":"https://cve.report/api/cve/CVE-2020-5268.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5268","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5268"},"summary":{"title":"CVE-2020-5268","description":"In Saml2 Authentication Services for ASP.NET versions before 1.0.2, and between 2.0.0 and 2.6.0, there is a vulnerability in how tokens are validated in some cases. Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a token to create a log in session. This vulnerability is patched in versions 1.0.2 and 2.7.0.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-04-21 17:15:00","updated_at":"2020-05-06 17:26:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241","name":"https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fix token replay detection · Sustainsys/Saml2@e58e0a1 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw","name":"https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw","refsource":"CONFIRM","tags":["Mitigation","Third Party Advisory"],"title":"Subject Confirmation Method not Validated · Advisory · Sustainsys/Saml2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.nuget.org/packages/Sustainsys.Saml2/","name":"https://www.nuget.org/packages/Sustainsys.Saml2/","refsource":"MISC","tags":["Third Party Advisory"],"title":"NuGet Gallery\r\n        | Sustainsys.Saml2 2.7.0","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Sustainsys/Saml2/issues/712","name":"https://github.com/Sustainsys/Saml2/issues/712","refsource":"MISC","tags":["Third Party Advisory"],"title":"Reserved Issue# · Issue #712 · Sustainsys/Saml2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5268","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5268","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5268","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sustainsys","cpe5":"saml2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5268","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sustainsys","cpe5":"saml2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-5268","qid":"983865","title":"Dotnet (nuget) Security Update for Sustainsys.Saml2 (GHSA-9475-xg6m-j7pw)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5268","STATE":"PUBLIC","TITLE":"Subject Confirmation Method not validated in Saml2 Authentication Services for ASP.NET"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Saml2","version":{"version_data":[{"version_value":"< 1.0.2"},{"version_value":">= 2.0.0, <= 2.6.0"}]}}]},"vendor_name":"Sustainsys"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Saml2 Authentication Services for ASP.NET versions before 1.0.2, and between 2.0.0 and 2.6.0, there is a vulnerability in how tokens are validated in some cases. Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a token to create a log in session. This vulnerability is patched in versions 1.0.2 and 2.7.0."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-303: Incorrect Implementation of Authentication Algorithm"}]}]},"references":{"reference_data":[{"name":"https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241","refsource":"MISC","url":"https://github.com/Sustainsys/Saml2/commit/e58e0a1aff2b1ead6aca080b7cdced55ee6d5241"},{"name":"https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw","refsource":"CONFIRM","url":"https://github.com/Sustainsys/Saml2/security/advisories/GHSA-9475-xg6m-j7pw"},{"name":"https://github.com/Sustainsys/Saml2/issues/712","refsource":"MISC","url":"https://github.com/Sustainsys/Saml2/issues/712"},{"name":"https://www.nuget.org/packages/Sustainsys.Saml2/","refsource":"MISC","url":"https://www.nuget.org/packages/Sustainsys.Saml2/"}]},"source":{"advisory":"GHSA-9475-xg6m-j7pw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-04-21 17:15:00","lastModifiedDate":"2020-05-06 17:26:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":2.1,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.9},"severity":"MEDIUM","exploitabilityScore":6.8,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sustainsys:saml2:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:sustainsys:saml2:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.7.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5268","Ordinal":"165482","Title":"CVE-2020-5268","CVE":"CVE-2020-5268","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5268","Ordinal":"1","NoteData":"In Saml2 Authentication Services for ASP.NET versions before 1.0.2, and between 2.0.0 and 2.6.0, there is a vulnerability in how tokens are validated in some cases. Saml2 tokens are usually used as bearer tokens - a caller that presents a token is assumed to be the subject of the token. There is also support in the Saml2 protocol for issuing tokens that is tied to a subject through other means, e.g. holder-of-key where possession of a private key must be proved. The Sustainsys.Saml2 library incorrectly treats all incoming tokens as bearer tokens, even though they have another subject confirmation method specified. This could be used by an attacker that could get access to Saml2 tokens with another subject confirmation method than bearer. The attacker could then use such a token to create a log in session. This vulnerability is patched in versions 1.0.2 and 2.7.0.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5268","Ordinal":"2","NoteData":"2020-04-21","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5268","Ordinal":"3","NoteData":"2020-04-23","Type":"Other","Title":"Modified"}]}}}