Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%
Get alerts for future matching vulnerabilitiesLog in to subscribe
I. Basic Information for CVE-2022-42889
Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults
Source: NVD (National Vulnerability Database)
Vulnerability Description
Apache 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Apache Commons Text 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Apache Commons Text是美国阿帕奇(Apache)基金会的一个专注于字符串算法的库。 Apache Commons Text 1.5至1.9版本存在安全漏洞,该漏洞源于默认的Lookup实例集包括可能导致任意代码执行或与远程服务器联系的插值器,可能容易受到远程代码执行或与远程服务器的无意接触的影响。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)
Affected Products
VendorProductAffected VersionsCPESubscribe
Apache Software FoundationApache Commons Text unspecified ~ 1.9 -
II. Public POCs for CVE-2022-42889
#POC DescriptionSource LinkShenlong Link
1CVE-2022-42889 dockerized sample application (Apache Commons Text RCE)https://github.com/0xst4n/CVE-2022-42889POC Details
2Proof of Concept for the Apache commons-text vulnerability CVE-2022-42889.https://github.com/SeanWrightSec/CVE-2022-42889-PoCPOC Details
3ClusterImagePolicy demo for cve-2022-42889 text4shell https://github.com/chainguard-dev/text4shell-policyPOC Details
4An intentionally vulnerable webapp to get your hands dirty with CVE-2022-42889.https://github.com/tulhan/commons-text-goatPOC Details
5Dockerized POC for CVE-2022-42889 Text4Shellhttps://github.com/karthikuj/cve-2022-42889-text4shell-dockerPOC Details
6cve-2022-42889 Text4Shell CVE-2022-42889 affects Apache Commons Text versions 1.5 through 1.9. It has been patched as of Commons Text version 1.10. https://github.com/ClickCyber/cve-2022-42889POC Details
7A simple application that shows how to exploit the CVE-2022-42889 vulnerabilityhttps://github.com/korteke/CVE-2022-42889-POCPOC Details
8Nonehttps://github.com/eunomie/cve-2022-42889-checkPOC Details
9Apache commons text - CVE-2022-42889 Text4Shell proof of concept exploit.https://github.com/kljunowsky/CVE-2022-42889-text4shellPOC Details
10A fully automated, accurate, and extensive scanner for finding text4shell RCE CVE-2022-42889https://github.com/securekomodo/text4shell-scanPOC Details
11Nonehttps://github.com/neerazz/CVE-2022-42889POC Details
12通过 jvm 启动参数 以及 jps pid进行拦截非法参数https://github.com/uk0/cve-2022-42889-interceptPOC Details
13Proof of Concept Appliction for testing CVE-2022-42889https://github.com/securekomodo/text4shell-pocPOC Details
14Nonehttps://github.com/humbss/CVE-2022-42889POC Details
15This project includes a python script which generates malicious commands leveraging CVE-2022-42889 vulnerabilityhttps://github.com/stavrosgns/Text4ShellPayloadsPOC Details
16python script for CVE-2022-42889https://github.com/s3l33/CVE-2022-42889POC Details
17Dockerized PoC for CVE-2022-42889 Text4Shellhttps://github.com/galoget/CVE-2022-42889-Text4Shell-DockerPOC Details
18CVE-2022-42889 Text4Shell Exploit POChttps://github.com/rhitikwadhvana/CVE-2022-42889-Text4Shell-Exploit-POCPOC Details
19A simple dockerize application that shows how to exploit the CVE-2022-42889 vulnerability.https://github.com/akshayithape-devops/CVE-2022-42889-POCPOC Details
20Apache Text4Shell (CVE-2022-42889) Burp Bounty Profilehttps://github.com/0xmaximus/Apache-Commons-Text-CVE-2022-42889POC Details
21Vulnerability Scanner for CVE-2022-42889 (Text4Shell)https://github.com/smileostrich/Text4Shell-ScannerPOC Details
22CVE-2022-42889 aka Text4Shell research & PoChttps://github.com/cxzero/CVE-2022-42889-text4shellPOC Details
23Text4Shell PoC Exploit https://github.com/west-wind/CVE-2022-42889POC Details
24Nonehttps://github.com/Vulnmachines/text4shell-CVE-2022-42889POC Details
25CVE-2022-42889 Blind-RCE Nuclei Templatehttps://github.com/Hack4rLIFE/CVE-2022-42889POC Details
26Proof of Concept for CVE-2022-42889 (Text4Shell Vulnerability) https://github.com/cryxnet/CVE-2022-42889-RCEPOC Details
27CVE-2022-42889 (a.k.a. Text4Shell) RCE Proof of Concepthttps://github.com/sunnyvale-it/CVE-2022-42889-PoCPOC Details
28Script to handle CVE 2022-42889https://github.com/QAInsights/cve-2022-42889-jmeterPOC Details
29Nonehttps://github.com/adarshpv9746/Text4shell--Automated-exploit---CVE-2022-42889POC Details
30Python Script to exploit RCE of CVE-2022-42889 https://github.com/pwnb0y/Text4shell-exploitPOC Details
31CVE-2022-42889 - Text4Shell exploithttps://github.com/gokul-ramesh/text4shell-exploitPOC Details
32text4shell(CVE-2022-42889) BurpSuite Scannerhttps://github.com/f0ng/text4shellburpscannerPOC Details
33https://github.com/karthikuj/cve-2022-42889-text4shell-docker.githttps://github.com/WFS-Mend/vtrade-commonPOC Details
34Kubernetes Lab for CVE-2022-42889https://github.com/devenes/text4shell-cve-2022-42889POC Details
35A demonstration of CVE-2022-42889 (text4shell) remote code execution vulnerabilityhttps://github.com/hotblac/text4shellPOC Details
36docker for CVE-2022-42889https://github.com/necroteddy/CVE-2022-42889POC Details
37Nonehttps://github.com/ReachabilityOrg/cve-2022-42889-text4shell-dockerPOC Details
38Nonehttps://github.com/dgor2023/cve-2022-42889-text4shell-dockerPOC Details
39Nonehttps://github.com/Dima2021/cve-2022-42889-text4shellPOC Details
40Nonehttps://github.com/RSA-Demo/cve-2022-42889-text4shellPOC Details
41Dockerized POC for CVE-2022-42889 Text4Shellhttps://github.com/aaronm-sysdig/text4shell-dockerPOC Details
42This repository contains a Python script to automate the process of testing for a vulnerability known as Text4Shell, referenced under the CVE id: CVE-2022-42889. https://github.com/gustanini/CVE-2022-42889-Text4Shell-POCPOC Details
43Text4Shellhttps://github.com/Sic4rio/CVE-2022-42889POC Details
44RCE PoC for Apache Commons Text vulnhttps://github.com/34006133/CVE-2022-42889POC Details
45Nonehttps://github.com/DimaMend/cve-2022-42889-text4shellPOC Details
46CVE-2022-42889 Blind-RCE Nuclei Templatehttps://github.com/Gotcha-1G/CVE-2022-42889POC Details
47Nonehttps://github.com/joshbnewton31080/cve-2022-42889-text4shellPOC Details
48Nonehttps://github.com/MendDemo-josh/cve-2022-42889-text4shellPOC Details
49CVE-2022-42889 dockerized sample application (Apache Commons Text RCE)https://github.com/rockmelodies/CVE-2022-42889POC Details
50This repository contains a Python script to automate the process of testing for a vulnerability known as Text4Shell, referenced under the CVE id: CVE-2022-42889. https://github.com/808ale/CVE-2022-42889-Text4Shell-POCPOC Details
51A fully automated, accurate, and extensive scanner for finding text4shell RCE CVE-2022-42889https://github.com/kiralab/text4shell-scanPOC Details
52A custom Python-based proof-of-concept (PoC) exploit targeting Text4Shell (CVE-2022-42889), a critical remote code execution vulnerability in Apache Commons Text versions < 1.10.https://github.com/chaudharyarjun/text4shell-exploitPOC Details
53CVE-2022-42889 Blind-RCE Nuclei Templatehttps://github.com/Gotcha1G/CVE-2022-42889POC Details
54Apache 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/dast/cves/2022/CVE-2022-42889.yamlPOC Details
55Nonehttps://github.com/Threekiii/Awesome-POC/blob/master/%E5%BC%80%E5%8F%91%E6%A1%86%E6%9E%B6%E6%BC%8F%E6%B4%9E/Apache%20Commons%20Text%20%E8%BF%9C%E7%A8%8B%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2022-42889.mdPOC Details
56Python Script to exploit RCE of CVE-2022-42889 https://github.com/vickyaryan7/Text4shell-exploitPOC Details
57A custom Python-based proof-of-concept (PoC) exploit targeting Text4Shell (CVE-2022-42889), a critical remote code execution vulnerability in Apache Commons Text versions < 1.10.https://github.com/Syndicate27/text4shell-exploitPOC Details
58Log4Shell / Log4J Payload - CVE-2021-45046 and CVE-2022-42889https://github.com/ifconfig-me/Log4Shell-PayloadsPOC Details
59Nonehttps://github.com/shoucheng3/asf__commons-text_CVE-2022-42889_1-9POC Details
60Proof of Concept (PoC) for CVE-2022-42889 (Text4Shell) targeting Apache Commons Text versions prior to 1.10.0. This script automates Remote Code Execution (RCE) via script interpolation to establish a reverse shell. This version is a structured optimization based on the original exploit found at Exploit-DB (ID: 52261).https://github.com/Goultarde/CVE-2022-42889-text4shellPOC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC
III. Intelligence Information for CVE-2022-42889
Please Login to view more intelligence information
IV. Related Vulnerabilities
V. Comments for CVE-2022-42889

No comments yet


Leave a comment