Advisories

Hono 4.13.11 before 4.13.18 Middleware Bypass via serveStatic allowPercentInPath

Go back
Severity
medium
Date
Affecting
  • hono >= 4.13.11, < 4.13.18

CWE
  • CWE-174 Double Decoding of the Same Data
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Credit
Figo5
Description
Hono from 4.13.11 before 4.13.18 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting a second path decode when allowPercentInPath is enabled. Attackers can send malformed percent-encoded sequences so the router matches an encoded path while serveStatic serves the real file, bypassing authentication checks.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.