{"vulnerability": "CVE-2022-41852", "sightings": [{"uuid": "7318b929-6932-4aba-93bd-cb7286894736", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "Telegram/BbgDKgrCjAs5CoaxK7bbAqyVWEqK52CK1ocqdsJVUV8JCuI", "content": "", "creation_timestamp": "2024-04-02T20:37:29.000000Z"}, {"uuid": "e4c34f98-f616-46ea-92c1-1b1525543654", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "seen", "source": "https://t.me/DarkWebInformer_CVEAlerts/8062", "content": "\ud83d\udd17 DarkWebInformer.com - Cyber Threat Intelligence\n\ud83d\udccc CVE ID: CVE-2024-36401\n\ud83d\udd25 CVSS Score: 9.8 (cvssV3_1, Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)\n\ud83d\udd39 Description: GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions.\n\nThe GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code.\n\nVersions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.\n\ud83d\udccf Published: 2024-07-01T15:25:41.873Z\n\ud83d\udccf Modified: 2025-03-19T14:55:46.536Z\n\ud83d\udd17 References:\n1. https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv\n2. https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w\n3. https://github.com/geotools/geotools/pull/4797\n4. https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852\n5. https://osgeo-org.atlassian.net/browse/GEOT-7587", "creation_timestamp": "2025-03-19T15:17:44.000000Z"}, {"uuid": "f7e1084c-faec-476c-8f08-8d1f236d5930", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/proxy_bar/1053", "content": "CVE-2022-41852\nRCE in JXPath Library \n\u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u043c About", "creation_timestamp": "2022-10-21T20:22:06.000000Z"}, {"uuid": "074dc525-b2c2-4536-bf3e-b561ec651070", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/LockBitRaasRansomware/14399", "content": "", "creation_timestamp": "2024-04-02T20:37:30.000000Z"}, {"uuid": "d2afc425-fd26-43e0-acc5-e8ebd64823fc", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/wireshark_hacking/769", "content": "CVE-2022-41852\nRCE in JXPath Library \n\u0412\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0447\u0438\u0442\u0430\u0435\u043c About", "creation_timestamp": "2022-10-15T10:59:08.000000Z"}, {"uuid": "9bdc8762-6f3c-472d-afb7-f738cf5588a7", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/crackcodes/1251", "content": "", "creation_timestamp": "2022-10-18T17:10:24.000000Z"}, {"uuid": "2a976305-f4c9-4113-b941-e736a59c6005", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "Telegram/Q5Fejp7LhFOfhKinSoZ9Tvvv4SxjT_mKy-yfk9_dFJv6020", "content": "", "creation_timestamp": "2022-10-24T07:54:04.000000Z"}, {"uuid": "b0aa039f-36c0-48aa-95bf-743f64386ef7", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "Telegram/QOyLEkw0yy9hNU3pXPWg3dYPxEeEfJeRh-j1_1pPhTaDgUE", "content": "", "creation_timestamp": "2022-11-17T11:10:13.000000Z"}, {"uuid": "f5d69e0f-7321-4017-a3b2-bf5281d1b81b", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/breachdetector/137803", "content": "{\n  \"Source\": \"https://t.me/documentors\",\n  \"Content\": \"CVE-2022-4185.zip 6.1 kB \ud83d\udca5Apache Commons JXPath RCE (CVE-2022-41852) People who use JXPath to interpret untrusted XPath expressions may be vulnerable to RCE attacks. All JXPathContext class functions that deal with XPath strings are vulnerable, except the compile() and compilePath() functions. An attacker can use an XPath expression to load any Java class from the classpath, resulting in code execution. To load remote configuration to achieve RCE we can use two class constructors in spring: org.springframework.context.support.ClassPathXmlApplicationContext org.springframework.context.support.FileSystemXmlApplicationContext \ud83d\udcbeAnother analysis + PoC\", \n  \"author\": \"\u2693\ufe0f\ud835\udd07\ud835\udd2c\ud835\udd20\ud835\udd32\ud835\udd2a\ud835\udd22\ud835\udd2b\ud835\udd31\ud835\udd2c\ud835\udd2f\",\n  \"Detection Date\": \"07 Nov 2022\",\n  \"Type\": \"Data leak\"\n}\n\ud83d\udd39 Data Leak monitoring system\ud83d\udd39", "creation_timestamp": "2022-11-07T17:22:16.000000Z"}, {"uuid": "e3af9c6f-0765-4bb1-9e23-f5eb2e1bc8b1", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-41852", "type": "published-proof-of-concept", "source": "https://t.me/CyberSecurityTechnologies/7133", "content": "#Threat_Research\n1. Apache Commons JXPath RCE (CVE-2022-41852)\nhttps://xz.aliyun.com/t/11813\n2. Vulnerability package analysis in InfraSuite Device Master\nhttps://tttang.com/archive/1806/#toc_cve-2022-41778\n3. Malicious Python Packages Replace Crypto Addresses in Developer Clipboards\nhttps://blog.phylum.io/pypi-malware-replaces-crypto-addresses-in-developers-clipboard", "creation_timestamp": "2022-11-09T11:03:03.000000Z"}]}