CVEvulnerability
CVE-2021-40642
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-06-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-311
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.
Affected configurations
• textpattern textpattern (<= 4.8.7)
Related
Weakness · CWE (1)
- CWE-311 Missing Encryption of Sensitive Data weakness
References
- https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988ac7d8337aa9 Patch, Third Party Advisory
- https://www.huntr.dev/bounties/aadbe434-a376-443b-876f-2a1cbab7847b/ Permissions Required, Third Party Advisory
- https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988ac7d8337aa9 Patch, Third Party Advisory
- https://www.huntr.dev/bounties/aadbe434-a376-443b-876f-2a1cbab7847b/ Permissions Required, Third Party Advisory