CVE-2021-40642 Information disclosure in n/a
Attackers can steal session cookies transmitted over HTTP due to missing Secure flag, potentially leading to account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-40642?
CVE-2021-40642 is a medium-severity vulnerability in n/a, published on 29 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-311
Which versions are affected by CVE-2021-40642?
It affects 1 product.
Products include Textpattern Textpattern.
How do I fix CVE-2021-40642?
No fix has been published for CVE-2021-40642 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-40642 being exploited?
There is no known exploitation of CVE-2021-40642 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w43v-qr8x-xq75.