Textpattern CMS up to 4.8.7 txplib_misc.php missing secure attribute

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.9$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in Textpattern CMS up to 4.8.7. The affected element is an unknown function in the library textpattern/lib/txplib_misc.php. This manipulation causes missing secure attribute. This vulnerability is registered as CVE-2021-40642. Remote exploitation of the attack is possible. No exploit is available. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability has been found in Textpattern CMS up to 4.8.7 (Content Management System) and classified as problematic. Affected by this vulnerability is an unknown functionality in the library textpattern/lib/txplib_misc.php. The manipulation with an unknown input leads to a missing secure attribute vulnerability. The CWE definition for the vulnerability is CWE-614. The Secure attribute for sensitive cookies in HTTPS sessions is not set, which could cause the user agent to send those cookies in plaintext over an HTTP session. As an impact it is known to affect confidentiality. The summary by CVE is:

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.

The weakness was published 06/29/2022. The advisory is shared at huntr.dev. This vulnerability is known as CVE-2021-40642 since 09/07/2021. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1539 for this issue.

By approaching the search of inurl:textpattern/lib/txplib_misc.php it is possible to find vulnerable targets with Google Hacking.

Applying the patch 211fab0093999f59b0b61682aa988ac7d8337aa9 is able to eliminate this problem. The bugfix is ready for download at github.com.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.0
VulDB Meta Temp Score: 3.9

VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.3
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Missing secure attribute
CWE: CWE-614 / CWE-1004 / CWE-732
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 211fab0093999f59b0b61682aa988ac7d8337aa9

Timelineinfo

09/07/2021 🔍
06/29/2022 +295 days 🔍
06/29/2022 +0 days 🔍
07/16/2022 +17 days 🔍

Sourcesinfo

Advisory: 211fab0093999f59b0b61682aa988ac7d8337aa9
Status: Confirmed

CVE: CVE-2021-40642 (🔍)
GCVE (CVE): GCVE-0-2021-40642
GCVE (VulDB): GCVE-100-202945

Entryinfo

Created: 06/29/2022 18:10
Updated: 07/16/2022 14:52
Changes: 06/29/2022 18:10 (42), 07/16/2022 14:48 (1), 07/16/2022 14:52 (18)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!