Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

WAF as a Service
Results will update as you type.
  • What's New in the Barracuda WAF-as-a-Service
  • Understanding the Global Infrastructure
  • Application Security Insights
  • Getting Started
  • Configuring WAF-as-a-Service
  • Managing Your Account
  • Components
    • Adding or Removing a Component
    • Application Profiles
    • API Dashboard
    • API Discovery
    • Bot Protection
    • Caching and Compression
    • Clickjacking Protection
    • Client Certification Authentication
    • Client-Side Protection
    • Content Delivery Network (CDN)
    • Cookie Security
    • Data Theft Protection Policy
    • Distributed Denial of Service (DDoS)
    • Header Allow/Deny Rules
    • IP Address Geolocation
    • Log Export
    • Log Masking
    • Parameter Protection
    • Request Limits
    • Response Cloaking
    • Response Pages
    • Application Snapshots
    • Traffic Rewrite
    • Trusted Hosts
    • URL Access and Redirects
    • URL Normalization
    • URL Protection
    • Violation Responses - Policy Options
    • Violation Responses - Response Policies
    • Violation Responses - Manage Locked Out Clients
  • Tips and Troubleshooting
  • Reports
  • Barracuda WAF-as-a-Service and CloudGen Access
  • Critical Vulnerabilities
  • WaaS API Version 4
  • Traffic Evaluation in Passive Mode
  • Barracuda WAF-as-a-Service Vulnerability Database
  • LLM Security

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Cookie Security
    Published May 10, 2021

    Cookie Security

    May 10, 2021
    Subscribe

    Cookies provide a mechanism to store session state information on client navigation platforms, such as browsers and other user agents. Cookies can store user preferences or shopping cart items and can include sensitive information like registration or login credentials. If a cookie is modified, the system can become vulnerable to attacks and sensitive information can be stolen.

    How Cookie Security Works

    Cookie Security in Barracuda WAF-as-a-Service is transparent to back-end servers. When a server inserts a cookie, Barracuda WAF-as-a-Service intercepts the response and encrypts or signs the cookie before delivering it to the client. When a subsequent request from the client returns this cookie, the system intercepts the request and decrypts it or verifies its signature.

    • If the cookie is unaltered, Barracuda WAF-as-a-Service forwards the original cookie to the server.

    • If the cookie has been altered, Barracuda WAF-as-a-Service removes it before forwarding the request to the server.

    Encryption prevents both viewing and tampering with cookies, so it prevents the client from accessing cookie values. If you have clients who need to access cookie values, use signing to allow this access. When signing cookies, Barracuda WAF-as-a-Service forwards two cookies to the client browser – one plain text cookie and one signed cookie. When a subsequent request from the client returns the cookies, if either cookie is altered, signature verification fails, and Barracuda WAF-as-a-Service removes both cookies before forwarding the request to the server.

    Encrypting a cookie may change the length of the cookie, but the number of headers in the message remains unchanged. When a cookie is signed, the length of the cookie changes and one or more headers is appended to the forwarded message. If the Request Limits component specifies constraints on the number or length of HTTP headers, a signed or encrypted cookie may violate the request limits and result in unwanted rejection of messages. Messages rejected for this reason are logged as  Cloak  under  Action  on the Firewall Logs page.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 12, "requestCorrelationId": "24b38dd77cea4bdda75a453d3d39db3a"}