cbcvebase.
CVE-2022-33980
published 2022-07-06

CVE-2022-33980: Apache Commons Configuration performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for…

PriorityP273critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
42.65%
98.6th percentile
Apache Commons Configuration 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.configuration2.interpol.Lookup that performs the interpolation. Starting with version 2.4 and continuing through 2.7, 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 Configuration 2.8.0, which disables the problematic interpolators by default.

Affected

24 ranges
VendorProductVersion rangeFixed in
apachecommons_configuration>= 2.4 < 2.82.8
apache_software_foundationapache_commons_configuration>= Apache Commons Configuration < 2.8.02.8.0
debiancommons-configuration2< commons-configuration2 2.8.0-1 (bookworm)commons-configuration2 2.8.0-1 (bookworm)
debiandebian_linux
jenkinsassociated_files_plugin
jenkinsbart_plugin
jenkinscccc_plugin
jenkinscluster_statistics_plugin
jenkinsconfig_rotator_plugin
jenkinsdelete_log_plugin
jenkinsjapex_plugin
jenkinsjunit_plugin
jenkinsnaginator_plugin
jenkinsns-nd_integration_performance_publisher_plugin
jenkinspipeline_utility_steps_plugin
jenkinsregistry_notification_plugin
jenkinsreverse_proxy_auth_plugin
jenkinsscript_security_plugin
jenkinssourcemonitor_plugin
jenkinssupport_core_plugin
jenkinsurls_in_the_plugin
jenkinsviolations_plugin
jenkinsxml_linter_plugin
jenkinsxp-dev_plugin

Detection & IOCsextracted from sources · hover to see the quote

other${script:...}
other${dns:...}
other${url:...}
  • Detect exploitation attempts by monitoring configuration values or log entries containing the interpolation pattern '${prefix:name}', specifically with prefixes 'script', 'dns', or 'url', which are the dangerous default lookups enabled in Apache Commons Configuration 2.4–2.7.
  • Alert on outbound DNS or HTTP/URL requests originating from the application process that correlate with configuration value evaluation — indicative of the 'dns' or 'url' lookup interpolators being triggered by untrusted input.
  • Monitor for javax.script engine invocations (e.g., ScriptEngine.eval()) spawned from within the Apache Commons Configuration interpolation code path (org.apache.commons.configuration2.interpol.Lookup), which would indicate exploitation of the 'script' lookup.
  • Flag applications running Apache Commons Configuration versions 2.4 through 2.7 as vulnerable; version 2.8.0 disables the dangerous interpolators by default and is the safe baseline.
  • ·The dangerous interpolators ('script', 'dns', 'url') are only active when using the interpolation defaults. Applications that do not expose untrusted input to configuration interpolation are not exploitable, as confirmed by Red Hat's assessment of several of its products.
  • ·Upgrading to Apache Commons Configuration 2.8.0 disables the problematic interpolators by default, but applications that explicitly re-enable 'script', 'dns', or 'url' lookups after upgrading would remain vulnerable.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.