CVE-2020-28042
Servicestack vulnerability
ServiceStack before 5.9.2 mishandles JWT signature verification unless an application has a custom ValidateToken function that establishes a valid minimum length for a signature.
Affected products
Servicestack. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Servicestack runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- forums.servicestack.net/t/servicestack-v5-9-2-released/8850 · Vendor Advisory
- github.com/ServiceStack/ServiceStack/commit/540d4060e877a03ae95343c1a8560a26768585ee · Patch
- www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass/ · Exploit
- www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-28042
- cve.org/CVERecord?id=CVE-2020-28042
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.