Skip to main content

Cross-Site Request Forgery (CSRF)

CVE-2024-7806

Severity High
Score 8.8/10

Summary

A vulnerability in open-webui versions prior to 0.3.33.dev1 allows remote code execution by non-admin users via Cross-site Request Forgery (CSRF). The application uses cookies with the "SameSite" attribute set to lax for authentication and lacks CSRF tokens. This allows an attacker to craft malicious HTML that, when accessed by a victim, can modify the Python code of an existing pipeline and execute arbitrary code with the victim's privileges.

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

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