CVE-2021-42550
JSON

6.6medium

RCE from attacker with configuration edit priviledges through JNDI lookup

Severity
6.6medium CVSS:3.1 by NCSC.ch
Exploit likelihood
4.77% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NCSC.ch
Also known as
GHSA-668q-qrv7-99fm

Description

In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.

Affected

Product or packageVersionsReported by
QOS.ch logbackfrom unspecified before 1.2.9, from unspecified before 1.3.0-alpha11CVE List
ch.qos.logback:logback-core (Maven)before 1.2.9GitHub Advisory Database
qos logbackup to 1.2.7, 1.3.0NVD
redhat satellite6.0NVD
netapp cloud_managerNot specifiedNVD
netapp service_level_managerNot specifiedNVD
netapp snap_creator_frameworkNot specifiedNVD
siemens sinec_nmsbefore 1.0.3NVD

All scores

NCSC.ch6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
GitHub6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD8.5high CVSS:2.0AV:N/AC:M/Au:S/C:C/I:C/A:C

Classification

What each source says

CVE List

In logback version 1.2.7 and prior versions, an attacker with the required privileges to edit configurations files could craft a malicious configuration allowing to execute arbitrary code loaded from LDAP servers.

NVD (es)

En logback versiones 1.2.7 y anteriores, un atacante con los privilegios necesarios para editar archivos de configuración podría diseñar una configuración maliciosa que permitiera ejecutar código arbitrario cargado desde servidores LDAP

References

http://logback.qos.ch/news.htmlvendor-advisory, web
https://github.com/cn-panda/logbackRceDemoexploit, third-party-advisory, web
https://jira.qos.ch/browse/LOGBACK-1591exploit, issue-tracking, patch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20211229-0001/third-party-advisory
http://seclists.org/fulldisclosure/2022/Jul/11mailing-list, third-party-advisory, web
http://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.htmlexploit, third-party-advisory, vdb-entry, web
https://cert-portal.siemens.com/productcert/pdf/ssa-371761.pdfthird-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-42550advisory
https://github.com/qos-ch/logback/commit/87291079a1de9369ac67e20dc70a8fdc7cc4359cweb
https://github.com/qos-ch/logback/commit/ef4fc4186b74b45ce80d86833820106ff27edd42web
https://github.com/qos-ch/logbackpackage
https://github.com/qos-ch/logback/blob/1502cba4c1dfd135b2e715bc0cf80c0045d4d128/logback-site/src/site/pages/news.htmlweb

Sources

SourceRecordLicence
CVE ListCVE-2021-42550 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-668q-qrv7-99fm changed 2024-02-16CC-BY-4.0
NVDCVE-2021-42550 changed 2026-06-17Public domain