Dubai, UAE – A new report by cybersecurity firm Kaspersky warns that while a staggering 87% of websites now feature cookie notifications, most users are still unaware of the serious risks these small data files pose. Attackers are increasingly targeting cookies to hijack active web sessions, which can lead to stolen personal data, financial fraud, and even identity theft.
Understanding the threat
Cookies are tiny text files that browsers store to help websites function smoothly, remembering your login and preferences. However, they can also hold sensitive information like browsing history, personal details, and sometimes even payment information or login credentials.
Criminals can steal these cookies through various methods, giving them unauthorised access to your online accounts.
- Session sniffing: On public Wi-Fi or unencrypted HTTP sites, attackers can intercept your session ID—a unique code that keeps you logged into a website.
- Cross-site scripting (XSS): Attackers inject malicious code into a website. When you visit the site, the script runs in your browser and steals your session ID or other cookie data.
- Session fixation: This tactic tricks you into using a pre-set session ID. After you log in, the attacker can use that same ID to access your account.
In a real-world scenario, a hijacked session could give a hacker access to your online shopping account, allowing them to view your shipping address or even initiate transactions. The consequences can be devastating, including financial loss, privacy breaches, and reputational damage if the attacker misuses your account to post fraudulent messages.
“Cookies are the backbone of seamless online experiences, enabling everything from personalized settings to streamlined logins, but they’re also a target for hackers if not handled with care,” says Natalya Zakuskina, a senior web content analyst at Kaspersky. “It’s imperative for developers to prioritize security measures and for users to stay proactive in protecting their digital footprint.”
How to protect yourself
Kaspersky offers several recommendations for users to enhance their online security:
- Avoid insecure websites: Never input sensitive information on websites that use the HTTP protocol. Always check for HTTPS in the web address, which indicates a secure, encrypted connection.
- Be cautious with public Wi-Fi: Avoid sharing confidential data when using public networks unless you are connected to a Virtual Private Network (VPN).
- Manage your cookies: When a site offers the option, accept only the essential cookies. Get into the habit of regularly clearing your browser’s cookies and cache.
- Enable multi-factor authentication: Use two-factor authentication (2FA) whenever possible to add a critical layer of security to your accounts.
- Practice good digital hygiene: Avoid clicking on suspicious links and regularly clear your browser data.
For website developers, Kaspersky advises enforcing HTTPS, using HttpOnly and Secure flags, implementing CSRF tokens, and adopting cryptographically secure methods for generating session IDs.