{"id":"CVE-2021-25994","state":"PUBLISHED","title":"Userfrosting - Host-Header Injection Leads to Account Takeover","description":"In Userfrosting, versions v0.3.1 to v4.6.2 are vulnerable to Host Header Injection. By luring a victim application user to click on a link, an unauthenticated attacker can use the “forgot password” functionality to reset the victim’s password and successfully take over their account.","publishedAt":"2022-01-03T06:45:10.000Z","updatedAt":"2024-08-03T20:19:19.566Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"Mend"},"assigner":"Mend","products":["userfrosting userfrosting"],"affected":[{"vendor":"userfrosting","product":"userfrosting","versions":[{"version":"0.3.1","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"4.6.2","versionType":"custom"}]}],"references":["https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T19:48:10.461Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/25xxx/CVE-2021-25994.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-25994","state":"PUBLISHED","datePublished":"2022-01-03T06:45:10.000Z","dateUpdated":"2024-08-03T20:19:19.566Z","assignerShortName":"Mend","assignerOrgId":"478c68dd-22c1-4a41-97cd-654224dfacff","dateReserved":"2021-01-22T00:00:00.000Z"},"containers":{"cna":{"title":"Userfrosting - Host-Header Injection Leads to Account Takeover","descriptions":[{"lang":"en","value":"In Userfrosting, versions v0.3.1 to v4.6.2 are vulnerable to Host Header Injection. By luring a victim application user to click on a link, an unauthenticated attacker can use the “forgot password” functionality to reset the victim’s password and successfully take over their account."}],"affected":[{"vendor":"userfrosting","product":"userfrosting","versions":[{"version":"0.3.1","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"4.6.2","versionType":"custom"}]}],"references":[{"url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","tags":["x_refsource_MISC"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Mend","dateUpdated":"2022-01-03T06:45:10.000Z","orgId":"478c68dd-22c1-4a41-97cd-654224dfacff"},"credits":[{"lang":"en","value":"WhiteSource Vulnerability Research Team (WVR)"}],"solutions":[{"lang":"en","value":"Update to Userfrosting v4.6.3"}],"source":{"advisory":"https://www.whitesourcesoftware.com/vulnerability-database/","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"vulnerabilitylab@whitesourcesoftware.com","ID":"CVE-2021-25994","STATE":"PUBLIC","TITLE":"Userfrosting - Host-Header Injection Leads to Account Takeover"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"userfrosting","version":{"version_data":[{"version_affected":">=","version_value":"0.3.1"},{"version_affected":"<=","version_value":"4.6.2"}]}}]},"vendor_name":"userfrosting"}]}},"credit":[{"lang":"eng","value":"WhiteSource Vulnerability Research Team (WVR)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Userfrosting, versions v0.3.1 to v4.6.2 are vulnerable to Host Header Injection. By luring a victim application user to click on a link, an unauthenticated attacker can use the “forgot password” functionality to reset the victim’s password and successfully take over their account."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"}]}]},"references":{"reference_data":[{"name":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","refsource":"MISC","url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba"},{"name":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","refsource":"MISC","url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994"}]},"solution":[{"lang":"en","value":"Update to Userfrosting v4.6.3"}],"source":{"advisory":"https://www.whitesourcesoftware.com/vulnerability-database/","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/userfrosting/UserFrosting/commit/796dd78757902435d1bd286415feea78098e45ba","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25994","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:19:19.566Z"}}]}}}