CVE-2022-33980
Apache Commons Configuration insecure interpolation defaults
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
4Exploited in Wild
-Decision
Descriptions
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.
Apache Commons Configuration lleva a cabo la interpolación de variables, permitiendo que las propiedades sean evaluadas y expandidas dinámicamente. El formato estándar para la interpolación es "${prefix:name}", donde "prefix" es usado para localizar una instancia de org.apache.commons.configuration2.interpol.Lookup que lleva a cabo la interpolación. A partir de la versión 2.4 y hasta 2.7, el conjunto de instancias de Lookup por defecto incluía interpoladores que podían resultar en la ejecución de código arbitrario o en el contacto con servidores remotos. Estos lookups son: - "script" - ejecuta expresiones usando el motor de ejecución de scripts de la JVM (javax.script) - "dns" - resuelve registros dns - "url" - carga valores de urls, incluso de servidores remotos Las aplicaciones que usan los interpoladores por defecto en las versiones afectadas pueden ser vulnerables a una ejecución de código remota o al contacto involuntario con servidores remotos si son usados valores de configuración que no son confiables. Es recomendado a usuarios actualizar a Apache Commons Configuration versión 2.8.0, que deshabilita los interpoladores problemáticos por defecto
A flaw was found in Apache Commons Configuration's variable interpolation, which by default included several lookup actions that could permit script invocation on remote servers. This issue could allow an attacker to use one of these actions to send a request to execute arbitrary code on the server.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-06-18 CVE Reserved
- 2022-07-06 CVE Published
- 2022-07-08 First Exploit
- 2024-06-04 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
CAPEC
References (11)
URL | Tag | Source |
---|---|---|
http://www.openwall.com/lists/oss-security/2022/07/06/5 | Mailing List | |
http://www.openwall.com/lists/oss-security/2022/11/15/4 | Mailing List | |
https://security.netapp.com/advisory/ntap-20221028-0015 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://github.com/HKirito/CVE-2022-33980 | 2022-10-20 | |
https://github.com/tangxiaofeng7/CVE-2022-33980-Apache-Commons-Configuration-RCE | 2022-07-08 | |
https://github.com/sammwyy/CVE-2022-33980-POC | 2022-10-17 | |
https://github.com/P0lar1ght/CVE-2022-33980-POC | 2022-12-22 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s | 2022-12-08 | |
https://www.debian.org/security/2022/dsa-5290 | 2022-12-08 | |
https://access.redhat.com/security/cve/CVE-2022-33980 | 2023-05-03 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2105067 | 2023-05-03 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Apache Search vendor "Apache" | Commons Configuration Search vendor "Apache" for product "Commons Configuration" | >= 2.4 < 2.8 Search vendor "Apache" for product "Commons Configuration" and version " >= 2.4 < 2.8" | - |
Affected
| ||||||
Netapp Search vendor "Netapp" | Snapcenter Search vendor "Netapp" for product "Snapcenter" | - | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 11.0 Search vendor "Debian" for product "Debian Linux" and version "11.0" | - |
Affected
|