VulnerabilitiesHIGH

HttpOnly Cookies at Risk from New 'Cookie Sandwich' Technique

PSPortSwigger ResearchJan 22, 2025
HttpOnlycookie sandwichWAFvulnerability
🎯

Basically, a new method lets hackers steal secure cookies from websites.

Quick Summary

A new technique called 'cookie sandwich' can steal secure cookies from websites. This affects users relying on HttpOnly flags for protection. Stay informed and ensure your online security measures are up to date.

What Happened

Imagine a sneaky trick that lets cybercriminals grab sensitive information from websites. Researchers have unveiled the 'cookie sandwich' technique, which can bypass the HttpOnly? flag on certain servers. This flag is designed to protect cookies from being accessed by JavaScript, making it harder for attackers to steal them.

The cookie sandwich technique? builds on previous research about evading Web Application Firewalls (WAFs)? using a special cookie called the phantom $Version cookie?. By exploiting this vulnerability, attackers can potentially steal session cookies and gain unauthorized access to user accounts. This discovery raises serious concerns about the security of many websites that rely on HttpOnly? cookies for protection.

Why Should You Care

You might think your online accounts are safe because of security measures like HttpOnly? cookies, but this research shows that vulnerabilities still exist. If a hacker can steal your session cookies, they could impersonate you on your favorite websites, accessing your personal information, emails, or even banking details.

Imagine leaving your front door unlocked while you’re away. That’s what it feels like when these vulnerabilities exist. It’s crucial to understand that even seemingly secure measures can have loopholes. You should be aware of the potential risks and ensure that your online activities remain secure.

What's Being Done

The cybersecurity community is taking this discovery seriously. Researchers are working on identifying affected servers and developing patches to close this vulnerability. Here are some immediate actions you can take:

  • Update your web applications to ensure they are using the latest security measures.
  • Monitor your accounts for any suspicious activity, especially if you use websites that rely on cookies for authentication.
  • Educate yourself about the importance of cookie security and stay informed about new vulnerabilities.

Experts are closely watching for updates from web developers and security teams regarding patches and fixes. The goal is to mitigate the risks associated with this newly discovered technique and protect users from potential exploitation.

💡 Tap dotted terms for explanations

🔒 Pro insight: The cookie sandwich technique highlights the need for enhanced cookie security measures beyond HttpOnly flags to mitigate exploitation risks.

Original article from

PortSwigger Research

Read Full Article

Related Pings

HIGHVulnerabilities

Authentication Bypass Flaw Exposes pac4j-jwt Users

A critical vulnerability in the pac4j-jwt library allows attackers to impersonate users. Developers using this library must update immediately to prevent unauthorized access. Ignoring this could lead to severe security breaches.

Arctic Wolf Blog·Yesterday, 8:34 PM
CRITICALVulnerabilities

Critical Authentication Bypass in pac4j-jwt Library Exposed!

A severe flaw in the pac4j-jwt library allows hackers to bypass authentication. This affects applications relying on the library, risking user data and security. Immediate updates are essential to protect against exploitation.

Arctic Wolf Blog·Yesterday, 7:55 PM
HIGHVulnerabilities

Firefox Faces 22 Vulnerabilities Discovered by Anthropic

Anthropic discovered 22 vulnerabilities in Firefox, with 14 marked high-severity. This puts users at risk of data breaches and unauthorized access. Mozilla is working on patches to fix these issues.

TechCrunch Security·Yesterday, 7:00 PM
CRITICALVulnerabilities

Cisco FMC Faces Maximum-Severity Vulnerabilities: Act Now!

Cisco has identified two critical vulnerabilities in its Secure Firewall Management Center software. Organizations using this software are at risk of unauthorized access and control. Immediate patching is essential to protect sensitive data and maintain security.

Arctic Wolf Blog·Yesterday, 5:58 PM
HIGHVulnerabilities

Firefox Vulnerabilities Exposed by AI in Just Two Weeks

AI has uncovered 22 vulnerabilities in Firefox in just two weeks. This affects anyone using the browser, putting personal data at risk. Mozilla is working on patches to fix these issues, so stay updated!

Cyber Security News·Yesterday, 5:38 PM
HIGHVulnerabilities

Linux Rootkits Evolve with eBPF and io_uring Threats

Linux rootkits are evolving into a serious threat, targeting cloud and IoT systems. This shift puts many users at risk of data breaches and disruptions. Experts are working on detection methods and patches to combat these threats.

Cyber Security News·Yesterday, 5:33 PM