Exploit database

Vulnerability

CVE-2022-33980

Apache Commons Configuration insecure interpolation defaults

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

CVE Program

Exploit source choices

5 sources
sammwyy/cve-2022-33980-poc
GH-a7195fdce2ba48c27b3cc31e675409fbGitHubUnofficial GitHub source

POC for CVE-2022-33980 (Apache Commons Configuration RCE vulnerability)

2022-10-174 files · 5 stars
joseluisinigo/riskootext4shell
GH-6a0761ae6f2b65348fa53da859ecc8afGitHubUnofficial GitHub source

text4shell script for text coomons < =1.10 CVE-2022-33980

2023-07-183 files · 1 stars
d4n-sec/d4n-sec.github.io
GH-a977c770ad0cb70a8725a440ce0aeba7GitHubUnofficial GitHub source

Generated personal blog

2026-11-06385 files · 0 stars