Vulnerability Description
Textpattern CMS v4.8.7 and older vulnerability exists through Sensitive Cookie in HTTPS Session Without 'Secure' Attribute via textpattern/lib/txplib_misc.php. The secure flag is not set for txp_login session cookie in the application. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Textpattern | Textpattern | <= 4.8.7 |
Related Weaknesses (CWE)
References
- https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988aPatchThird Party Advisory
- https://www.huntr.dev/bounties/aadbe434-a376-443b-876f-2a1cbab7847b/Permissions RequiredThird Party Advisory
- https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988aPatchThird Party Advisory
- https://www.huntr.dev/bounties/aadbe434-a376-443b-876f-2a1cbab7847b/Permissions RequiredThird Party Advisory
FAQ
What is CVE-2021-40642?
CVE-2021-40642 is a vulnerability with a CVSS score of 4.3 (MEDIUM). Textpattern CMS v4.8.7 and older vulnerability exists through Sensitive Cookie in HTTPS Session Without 'Secure' Attribute via textpattern/lib/txplib_misc.php. The secure flag is not set for txp_login...
How severe is CVE-2021-40642?
CVE-2021-40642 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-40642?
Check the references section above for vendor advisories and patch information. Affected products include: Textpattern Textpattern.