Professional

JWT Scanner

JWT Scanner is a Burp Suite extension designed for the automated testing of JSON Web Token (JWT) implementations in web applications.

Features

  • Automatically detects JWTs in requests.
  • Allows manual selection of target JWTs.
  • Supports forging public keys with two different JWTs.
  • Checks for various vulnerabilities, including:
    • Missing or invalid signatures.
    • Expired JWTs or those without expiry.
    • Vulnerabilities related to "none" algorithm, CVE-2022-21449, and public key injection.
    • Exposed public keys and algorithm confusion.
    • Status code 500 alerts for potential issues.

Usage

Run an active scan or manually select a request to check:

  • Go to Proxy/Repeater/Target/Logger/Intruder
  • Select a request that requires authentication with a valid JWT and returns a HTTP 200 response.

Automatically detect JWT:

  • Right-click on the request you want to check.
  • Select Extension -> JWT Scanner -> Scan (autodetect).
  • If a vulnerability is identified, an issue is generated.

Manually select JWT:

  • Highlight the target JWT in the request.
  • Right-click the highlighted JWT request.
  • Select Extension -> JWT Scanner -> Scan selected.
  • If a vulnerability is identified, an issue is generated.

Forging public keys:

  • If a public key is not exposed, you can try forging one:
    • Select two base requests, each containing one different JWT.
    • Right-click the highlighted JWT requests.
    • Select Extension -> JWT Scanner -> Forge public key.
  • Investigate the Event and Issue log.
  • If successful, rerun "Scan (autodetect)" or "Scan selected".

Author

Author

Dario Caluzi, Cyrill Bannwart, Tobias Hort-Giess

Version

Version

2.1.0

Rating

Rating

Popularity

Popularity

Last updated

Last updated

29 May 2025

Estimated system impact

Estimated system impact

Overall impact: Empty

Memory
Empty
CPU
Empty
General
Empty
Scanner
Empty

You can install BApps directly within Burp, via the BApp Store feature in the Burp Extender tool. You can also download them from here, for offline installation into Burp.

You can view the source code for all BApp Store extensions on our GitHub page.

Follow @BApp_Store on Twitter to receive notifications of all BApp releases and updates.

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.

Go back to BappStore

Note:

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.