Skip to main content

Cross-Site Request Forgery (CSRF)

CVE-2024-43787

Severity Low
Score 2.3/10

Summary

Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using a crafted Content-Type header. MIME types are case insensitive, but "isRequestedByFormElementRe" only matches lower-case. As a result, attackers can bypass csrf middleware using upper-case form-like MIME type. This issue affects the package hono versions 3.12.0 through 4.5.7.

  • HIGH
  • NETWORK
  • LOW
  • UNCHANGED
  • REQUIRED
  • NONE
  • LOW
  • LOW

CWE-352 - Cross-Site Request Forgery (CSRF)

Cross-Site Request Forgery (CSRF) is a vulnerability that allows an attacker to make arbitrary requests in an authenticated vulnerable web application and disrupt the integrity of the victim’s session. The impact of a successful CSRF attack may range from minor to severe, depending upon the capabilities exposed by the vulnerable application and privileges of the user. An attacker may force the user to perform state-changing requests like transferring funds, changing their email address or password etc. However, if an administrative level account is affected, it may compromise the whole web application and associated sensitive data.

Advisory Timeline

  • Published