CVE-2017-1000046: Sensitive Cookie Without HttpOnly and Secure Flag in Mautic/Core
Summary
CVE-2017-1000046: Sensitive Cookie Without HttpOnly and Secure Flag. Affects mautic/core versions < 2.1.1. Fixed in 2.1.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Mautic/Core is an open-source package available on Packagist. It is a widely used marketing automation software that helps businesses manage their marketing campaigns, track customer interactions, and analyze data. The package provides various features and functionalities to streamline marketing efforts. However, an important vulnerability has been identified in versions prior to 2.1.1, which affects the security of session cookies.
Vulnerability Detail
The vulnerability, identified as CVE-2017-1000046, arises from Mautic's failure to set the HttpOnly and Secure flags on session cookies. These flags are essential for ensuring the confidentiality and integrity of cookies. Without the HttpOnly flag, client-side scripts can access the cookie, potentially leading to session hijacking or cross-site scripting attacks. Similarly, the absence of the Secure flag allows the transmission of cookies over unencrypted connections, making them susceptible to interception and tampering. This vulnerability poses a significant risk to the security and privacy of user sessions within Mautic/Core installations.
How To Fix
Minimum fixed version
2.1.1
This is the first release that contains the fix.
composer require mautic/core:2.1.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As this vulnerability can be mitigated by updating to the latest version, there is no specific workaround available. It is recommended to follow the steps mentioned in the 'how_to_fix' section to address the issue effectively.
Conclusion
In conclusion, the vulnerability CVE-2017-1000046 in Mautic/Core prior to version 2.1.1 exposes session cookies without the necessary HttpOnly and Secure flags. This can lead to session hijacking and cross-site scripting attacks, compromising user session security. To mitigate this vulnerability, it is crucial to update Mautic/Core to version 2.1.1 or later. For further assistance, you can contact DevNack.com.
See every vulnerability recorded for mautic/core →
FAQ
The vulnerability allows for potential session hijacking and cross-site scripting attacks, compromising the security and privacy of user sessions within Mautic/Core installations.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the composer.lock file.
There are no known instances of this vulnerability being exploited in the wild. However, it is crucial to address the issue promptly to prevent any potential security breaches.
While it is possible to manually set these flags, it is recommended to update to the latest version of Mautic/Core, as it ensures proper implementation and addresses any other potential security issues.
For further support and assistance in addressing this vulnerability, you can reach out to info@devnack.com. They can provide guidance and help ensure the security of your Mautic/Core installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for mautic/core.