ZeroHour
Security Affairspublished ()ingested @securityaffairs

CISA adds GeoSolutionsGroup JAI-EXT, Linux Kernel, and Roundcube Webmail bugs to its Known Exploited Vulnerabilities catalog

highExploit / PoC exploited in the wildimportance 60CVE-2022-24816CVE-2022-2586CVE-2020-13965

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2020-13965
XSS via Malicious XML Attachment in Roundcube Webmail

Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5 is vulnerable to cross-site scripting via malicious XML attachments, because text/xml is among the MIME types the client renders in the attachment preview, allowing embedded markup or script to execute in the victim's browser. An attacker triggers the flaw by emailing a crafted XML attachment and persuading a user to preview it. Successful exploitation lets the attacker run arbitrary JavaScript in the victim's webmail session, potentially hijacking the session, reading or manipulating mail, or acting as the user. Any Roundcube deployment running an affected version is exposed, including the Roundcube packages shipped in Debian and Fedora, though the share of installs still unpatched in 2024 is not documented in the available data. CISA added the flaw to its Known Exploited Vulnerabilities catalog on 2024-06-26, confirming exploitation in the wild, and a public proof-of-concept is available with EPSS at roughly 77% probability of exploitation within 30 days.

Do: Upgrade Roundcube to 1.3.12 or later on the 1.3 branch, or 1.4.5 or later on the 1.4 branch. If immediate patching is not possible, apply vendor mitigations — such as removing text/xml from the MIME types permitted for attachment preview — or discontinue use of the product per CISA's required action. Audit mail servers and hosting panels for Roundcube versions and monitor for suspicious activity around XML attachment previews.

6.177% KEV PoC
  • Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5
  • Debian Linux (Roundcube package) packages shipping Roundcube before 1.3.12 or 1.4.x before 1.4.5 (exact affected Debian releases not specified in source data)
  • fedoraproject Fedora (Roundcube package) packages shipping Roundcube before 1.3.12 or 1.4.x before 1.4.5 (exact affected Fedora releases not specified in source data)
massmillions of users across hundreds of thousands of deployments; count of currently unpatched instances unknown
CVE-2022-24816
Jiffle Script Code Injection RCE in JAI-EXT (Used by GeoServer)

CVE-2022-24816 is a critical (CVSS 3.1: 10.0) code injection flaw (CWE-94) in JAI-EXT, the open-source library that extends the Java Advanced Imaging (JAI) API. When an application allows Jiffle scripts to be submitted over a network request — most notably the downstream OSGeo GeoServer GIS server — the script is compiled into Java code using Janino and then executed, letting an attacker inject malicious code into the compiled script. Because the attack requires no privileges or user interaction and crosses security scopes, an unauthenticated attacker gains remote code execution on the server with the application's privileges. Any deployment of JAI-EXT prior to version 1.2.22 that accepts Jiffle scripts from network requests is affected, with GeoServer instances being the primary exposure. The flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2024-06-26 and carries a 98.5% EPSS score (100th percentile), indicating active exploitation in the wild, though no public proof-of-concept is known.

Do: Upgrade JAI-EXT to version 1.2.22 or later, which disables the ability to inject code into the compiled Jiffle script — for GeoServer operators this means moving to a GeoServer release that ships the patched JAI-EXT. If upgrading is not immediately possible, remove janino-x.y.z.jar from the application classpath so Jiffle scripts cannot be compiled at all. Per the CISA KEV listing (added 2024-06-26), apply these mitigations per vendor instructions or discontinue use, and check internet-facing GeoServer/WPS endpoints for signs of Jiffle-based code injection.

10.099% KEV
  • GeoSolutions Group JAI-EXT prior to 1.2.22 (1.2.22 contains the patch)
  • OSGeo GeoServer (downstream consumer of JAI-EXT) deployments bundling JAI-EXT versions prior to 1.2.22 (specific GeoServer version ranges not specified in the data)
largetens of thousands of internet-exposed GeoServer instances (order of magnitude ~10k-100k deployments)
CVE-2022-2586
Use-After-Free in Linux Kernel nftables Enables Local Privilege Escalation

CVE-2022-2586 is a use-after-free (CWE-416) in the Linux kernel's netfilter/nftables subsystem, where an nft object or expression can reference an nft set belonging to a different nft table. When that other table is deleted, the reference becomes stale and the kernel accesses freed memory, which a local low-privileged user can leverage for privilege escalation and full compromise of the host (CVSS 3.1: 7.8, AV:L/PR:L with high confidentiality, integrity and availability impact). Any Linux deployment whose kernel carries the vulnerable nftables code is affected, including distributions such as Ubuntu Linux (Canonical is the assigned CNA). Exploitation is local, so internet-facing exposure matters mainly as a means for an attacker to first gain a local foothold. The bug is under active exploitation — CISA added it to the Known Exploited Vulnerabilities catalog on 2024-06-26 — and a public write-up with proof-of-concept material exists, with EPSS estimating a 10.5% chance of exploitation within 30 days.

Do: Apply kernel updates per vendor instructions — on Ubuntu, install the latest linux/linux-* packages for your release and reboot to load the patched kernel (per the CISA KEV required action, treating this as a priority item given confirmed in-the-wild exploitation). As interim mitigation, limit unprivileged users' ability to create nftables objects (e.g., restrict unprivileged user namespaces) and review local accounts on multi-user hosts; identify affected systems by checking kernel versions against your distribution's security advisories.

7.810% KEV PoC
  • linux kernel
  • canonical ubuntu linux
massmillions of systems (Linux kernels with nftables are ubiquitous across servers, cloud instances and Ubuntu deployments)
Full article319 words · extracted from securityaffairs.com · click to collapse

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds GeoSolutionsGroup JAI-EXT, Linux Kernel, and Roundcube Webmail bugs to its Known Exploited Vulnerabilities catalog.

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) added the following vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalog:

Below are the descriptions of the flaws added to the KEV catalog:

  1. GeoServer Flaw CVE-2022-24816 (CVSS score of 9.8) is a code injection issue in the Jai-Ext open source project. The flaw can be exploited to achieve remote code execution, it exploits Jiffle scripts compiled into Java code via Janino. The flaw was addressed with the release of GeoServer version 1.2.22 in April 2022. Technical details and PoC exploit code are publicly available since August 2022.
  2. Linux Kernel Flaw CVE-2022-2586 (CVSS score of 7.8) is a use-after-free vulnerability in nft tables, that can lead to privilege escalation. White hat hackers demonstrated an exploit for this issue during the Pwn2Own Vancouver 2022. The vulnerability was fixed in August 2022, however technical details and PoC were published a few weeks later.
  3. Roundcube Webmail CVE-2020-13965 (CVSS score of 6.1) is a cross-site scripting (XSS) issue. The vulnerability affects versions before 1.4.5 and 1.3.12. Successful exploitation of the flaw can lead to arbitrary JavaScript code execution. Roundcube addressed the flaw in June 2020, and PoC code was released shortly thereafter.

According to Binding Operational Directive (BOD) 22-01: Reducing the Significant Risk of Known Exploited Vulnerabilities, FCEB agencies have to address the identified vulnerabilities by the due date to protect their networks against attacks exploiting the flaws in the catalog.

Experts also recommend private organizations review the Catalog and address the vulnerabilities in their infrastructure.

CISA orders federal agencies to fix this vulnerability by July 17, 2024.

Pierluigi Paganini

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

(SecurityAffairs – hacking, CISA)



Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/164982/security/cisa-geosolutionsgroup-jai-ext-linux-kernel-roundcube-webmail-known-exploited-vulnerabilities-catalog.html