Palo Alto Networks Security Advisories / CVE-2022-42889

CVE-2022-42889 Impact of Apache Text Commons Vulnerability CVE-2022-42889


Informational

Description

Palo Alto Networks has evaluated the Apache Commons Text library vulnerability CVE-2022-42889, known as Text4Shell, for all products and services.

The Palo Alto Networks Product Security Assurance team has confirmed that all products and services are not impacted by this vulnerability.

CVESummary
CVE-2022-42889Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.

Product Status

VersionsAffectedUnaffected
AutoFocus NoneAll
Bridgecrew NoneAll
Cloud NGFW NoneAll
Cortex Data Lake NoneAll
Cortex XDR NoneAll
Cortex XDR Agent NoneAll
Cortex Xpanse NoneAll
Cortex XSOAR NoneAll
Enterprise Data Loss Prevention NoneAll
Exact Data Matching CLI NoneAll
Expanse NoneAll
Expedition Migration Tool NoneAll
GlobalProtect App NoneAll
IoT Security NoneAll
Okyo Garde NoneAll
Palo Alto Networks App for Splunk NoneAll
PAN-OS NoneAll
Prisma Access NoneAll
Prisma Cloud NoneAll
Prisma Cloud Compute NoneAll
Prisma SD-WAN (CloudGenix) NoneAll
Prisma SD-WAN ION NoneAll
SaaS Security NoneAll
User-ID Agent NoneAll
WildFire Appliance (WF-500) NoneAll
WildFire Cloud NoneAll

Exploitation Status

Palo Alto Networks is not aware of any malicious exploitation of this issue on any of our products.

Weakness Type

CWE-94 Improper Control of Generation of Code ('Code Injection')

Solution

No software updates are required at this time.

Workarounds and Mitigations

Customers with a Threat Prevention subscription can block known attacks for CVE-2022-42889 by enabling Threat ID 93157 (Applications and Threats content update 8632). This mitigation reduces the risk of exploitation from known exploits.

Timeline

Initial publication
© 2024 Palo Alto Networks, Inc. All rights reserved.