Hexret
CVE-2022-42889critical 9.8PoC available

Text4Shell: default script lookup in string interpolation

A string-interpolation helper enables every built-in lookup by default, including one that evaluates scripts, so untrusted input containing an interpolation reference runs code.

Product
Apache Commons Text
Vendor
Apache Software Foundation
Affected
1.5 through 1.9
Fixed in
1.10.0
Weakness
CWE-94
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
13 Oct 2022

Practice this CVE, free

Classified as

References

Related CVEs

  • CVE-2022-30190high 7.82022

    Follina: ms-msdt URL-scheme code injection

    Microsoft Support Diagnostic Tool (MSDT), invoked via Microsoft Office · CWE-94

    A document-hosted script invokes the local MSDT diagnostic handler through the ms-msdt URL scheme, and a $() subexpression inside a diagnostic parameter is evaluated as a PowerShell command, giving macro-less code execution.

  • CVE-2022-22965critical 9.82022

    Spring4Shell: data binding reaches the ClassLoader

    Spring Framework (spring-beans / Spring MVC, Spring WebFlux) · CWE-94

    A denylist meant to keep classLoader unbindable only fires on the exact reflection Class type, so a nested bind reaching a ClassLoader through another type slips past it and drives arbitrary code execution.

  • CVE-2022-22947critical 10.02022

    Spring Cloud Gateway SpEL code injection via Actuator route

    Spring Cloud Gateway · CWE-94

    An argument value from an Actuator-defined route filter is evaluated as a Spring Expression Language expression in an unrestricted context, so a crafted route runs arbitrary code on refresh.

  • CVE-2021-44228critical 10.02021

    Log4Shell: JNDI lookup in logged input (CVE-2021-44228)

    Apache Log4j 2 (log4j-core) · CWE-917

    A string logged by Log4j with message lookups enabled can carry a JNDI reference, making the logger resolve an attacker-controlled name through JNDI and load a remote class. Nicknamed Log4Shell (Log4j plus shell), it scored a perfect 10.0, was reported by Chen Zhaojun of Alibaba Cloud, and became one of the most widely exploited vulnerabilities ever.