+44 (0)203 88 020 88

Menu

Search

Cyber Security News & Articles

 

Cyber Security
News & Articles

Trusted Cyber Security Experts
25+ Years Industry Experience
Ethical, Professional & Pragmatic

Auth0 Patch RCE Vulnerability in JSON Web Token

A remote code execution vulnerability has been identified in the open source JSON Web Token (JWT) library in versions 8.5.1 and earlier. This was identified by Unit42 researchers at Palo Alto Networks back in July, and has been finally patched by the Auth0 engineering team just before Christmas. Unit 42 have released a blog post with an in-depth analysis of this vulnerability this week now that a patch is widely available in JWT version 9.0.0.  

Auth0 are an authentication and authorisation platform run by Okta, an American access management company. Auth0 develop and maintain the JSON Web Token project, which is an open source JavaScript library used to securely transmit information as JSON objects. Many organisations make use of JWTs in open source projects including: Microsoft, Twilio, Salesforce, IBM, Docusign, and Slack. JWTs allow for information to be digitally signed using public/private key pairs which maintains integrity of transmitted information meaning it can be verified and trusted.  JWTs are often used during authorization and authentication such as through single sign on features, or for information exchange, where needs to be encrypted.  

The vulnerability tracked as CVE-2022-23529 has been given a critical severity rating and a CVSS base score of 9.8 but NIST’s National Vulnerability Database. However, this severity rating has been dropped to high, with a score of 7.6/10 by GitHub, who also published a third part advisory due to a potential attacker first needing to compromise the secret management process between the JWT server and an application, making an exploit of this vulnerability much harder to perform.   

A potential exploit of this vulnerability involves a threat actor modifying the secretOrPublickey parameter from the verify function. This parameter can be triggered through an options algorithms list where no algorithms are allowed so the secretOrPublickey parameter is assigned instead. The parameter secretOrPublickey is a string or buffer, but there is no check in place to determine which, so it begins to blindly use a tostring() method. Attackers can take advantage of this and trigger an override of the tostring() method, causing the verify function to run with a malicious object. The overridden tostring() function then writes an arbitrary file to the device and can also result in remote code execution. Fixed JWT version 9.0.0 has had the vulnerable code removed to prevent malicious objects being contained in the secretOrPublickey parameter and has been replaced with checks for the secretOrPublickey type.  

Development and Security Managers should check their software supply chain to see if vulnerable versions of the JWT library are included in their systems or third-party applications used on their networks. 

 

 

Subscribe to our monthly newsletter today

If you’d like to stay up-to-date with the latest cyber security news and articles from our technical team, you can sign up to our monthly newsletter. 

We hate spam as much as you do, so we promise not to bombard you with emails. We’ll send you a single, curated email each month that contains all of our cyber security news and articles for that month.

Why Choose SecureTeam?

CREST
CCS
ISO9001
ISO27001
CE-PLUS

Customer Testimonials

“We were very impressed with the service, I will say, the vulnerability found was one our previous organisation had not picked up, which does make you wonder if anything else was missed.”

Aim Ltd Chief Technology Officer (CTO)

"Within a very tight timescale, SecureTeam managed to deliver a highly professional service efficiently. The team helped the process with regular updates and escalation where necessary. Would highly recommend"

IoT Solutions Group Limited Chief Technology Officer (CTO) & Founder

“First class service as ever. We learn something new each year! Thank you to all your team.”

Royal Haskoning DHV Service Delivery Manager

“We’ve worked with SecureTeam for a few years to conduct our testing. The team make it easy to deal with them; they are attentive and explain detailed reports in a jargon-free way that allows the less technical people to understand. I wouldn’t work with anyone else for our cyber security.”

Capital Asset Management Head of Operations

“SecureTeam provided Derbyshire's Education Data Hub with an approachable and professional service to ensure our schools were able to successfully certify for Cyber Essentials. The team provided a smooth end-to-end service and were always on hand to offer advice when necessary.”

Derbyshire County Council Team Manager Education Data Hub

“A very efficient, professional, and friendly delivery of our testing and the results. You delivered exactly what we asked for in the timeframe we needed it, while maintaining quality and integrity. A great job, done well.”

AMX Solutions IT Project Officer

“We were very pleased with the work and report provided. It was easy to translate the provided details into some actionable tasks on our end so that was great. We always appreciate the ongoing support.”

Innovez Ltd Support Officer

Get in touch today

If you’d like to see how SecureTeam can take your cybersecurity posture to the next level, we’d love to hear from you, learn about your requirements and then send you a free quotation for our services.

Our customers love our fast-turnaround, “no-nonsense” quotations – not to mention that we hate high-pressure sales tactics as much as you do.

We know that every organisation is unique, so our detailed scoping process ensures that we provide you with an accurate quotation for our services, which we trust you’ll find highly competitive.

Get in touch with us today and a member of our team will be in touch to provide you with a quotation. 

0

No products in the basket.

No products in the basket.