Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2018-20433 EUVD-2019-0193GHSA-q485-j897-qc27

XML External Entity Reference in mchange:c3p0

Published Dec 24, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

c3p0 0.9.5.2 allows XXE in extractXmlConfigFromInputStream in com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java during initialization.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 c3p0 0.9.1.2-10 —
Debian 13 c3p0 0.9.1.2-10 —
Debian 12 c3p0 0.9.1.2-10 —
Debian 8 c3p0 0.9.1.2-9+deb8u1 DLA-1621-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS c3p0 0.9.1.2-9+deb8u1build0.18.04.1 —
Ubuntu 16.04 LTS c3p0 0.9.1.2-9+deb8u1build0.16.04.1 —
Ubuntu 14.04 LTS c3p0 0.9.1.2-9+deb8u1build0.14.04.1 —
ReleasePackageFixed inAdvisory
SUSE Manager Server Module 4.2 c3p0 0.9.5.5-150300.4.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 grafana-formula 0.7.0-150300.3.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 hub-xmlrpc-api 0.7-150300.3.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 inter-server-sync 0.1.0-150300.8.12.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 mgr-osad 4.2.8-150300.2.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 mgr-push 4.2.5-150300.2.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 patterns-suse-manager 4.2-150300.4.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 prometheus-exporters-formula 1.2.0-150300.3.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 py26-compat-msgpack-python 0.4.6-150300.4.3.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 rhnlib +1 4.2.6-150300.4.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 saltboot-formula 0.1.1645440615.7f1328c-150300.3.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 smdba 1.7.10-0.150300.3.3.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacecmd 4.2.16-150300.4.18.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-admin 4.2.10-150300.3.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-backend 4.2.20-150300.4.18.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-branding 4.2.13-150300.3.9.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-certs-tools 4.2.15-150300.3.15.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-client-tools 4.2.18-150300.4.18.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-config 4.2.6-150300.3.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-java 4.2.34-150300.3.26.2 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 spacewalk-web 4.2.26-150300.3.18.2 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 subscription-matcher 0.29-150300.6.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 supportutils-plugin-susemanager 4.2.4-150300.3.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 susemanager 4.2.28-150300.3.22.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 susemanager-docs_en +1 4.2-150300.12.22.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 susemanager-schema 4.2.21-150300.3.18.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 susemanager-sls 4.2.21-150300.3.20.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.2 virtualization-formulas 0.6.2-150300.8.6.1 SUSE-SU-2022:1397-1
SUSE Manager Server Module 4.1 c3p0 0.9.5.5-3.3.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 dhcpd-formula 0.1.1641480250.d5bd14c-3.3.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 hub-xmlrpc-api 0.7-3.9.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 py26-compat-msgpack-python 0.4.6-3.6.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 py27-compat-salt 3000.3-6.21.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 spacecmd 4.1.17-4.36.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 spacewalk-java 4.1.44-3.66.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 spacewalk-web 4.1.32-3.42.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 susemanager 4.1.33-3.45.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 susemanager-docs_en +1 4.1-11.52.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 susemanager-schema 4.1.25-3.42.2 SUSE-SU-2022:0798-1
SUSE Manager Server Module 4.1 susemanager-sls 4.1.34-3.59.2 SUSE-SU-2022:0798-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed c3p0 0.9.5.5-1.3 openSUSE-SU-2024:10669-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.mchange:c3p0 < 0.9.5.3 0.9.5.3 GHSA-q485-j897-qc27

Advisories 4

References