9.0critical
Canonical ADSys Trust Store Poisoning via Plaintext HTTP Certificate Auto-Enrollment
- Severity
- 9.0critical CVSS:4.0 by canonical
- Exploit likelihood
- 0.14% (higher than 2% of CVEs)
- Published
- Last changed
- Assigned by
- canonical
- Also known as
- GHSA-crm4-q7v4-c2r2GO-2026-6543
Description
An issue was discovered in Canonical ADSys upstream versions through v0.16.2. During Active Directory Certificate Services (AD CS) certificate auto-enrollment via the vendored Samba client script (internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py), ADSys utilizes a plaintext HTTP connection (http://) instead of a secure HTTPS connection (https://) to request the CA certificate from the Active Directory Certificate Services server (GetCACert). An unauthenticated network attacker positioned between the managed Ubuntu host and the configured AD CS CA hostname can conduct a Man-in-the-Middle (MITM) attack. By intercepting the plaintext HTTP request, the attacker can supply an arbitrary, attacker-controlled Root CA certificate. Because the system automatically accepts this certificate and registers it into the local system trust store via update-ca-certificates, this results in system-wide trust store poisoning. Consequently, TLS clients utilizing the operating system trust store on the affected machine will accept rogue certificates for arbitrary domains, enabling persistent decryption and interception of subsequent TLS connections. This issue is resolved in version v0.16.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| adsys | from 0.13.0 before 0.16.3 Not affected: 0.9.2~20.04.2ubuntu0.1+esm2, 0.16.3~22.04.2ubuntu0.22.04.1, 0.16.3~24.04.2ubuntu0.24.04.1, 0.16.3, 0.16.4ubuntu1 | CVE List |
| github.com/ubuntu/adsys (Go) | before 0.16.3-0.20250318112551-8b1939f96d38, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| canonical | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| canonical | 9.0critical CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:N/AU:Y/R:I/V:D/RE:L/U:Red |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:N/AU:Y/R:I/V:D/RE:L/U:Red |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
An issue was discovered in Canonical ADSys upstream versions through v0.16.2. During Active Directory Certificate Services (AD CS) certificate auto-enrollment via the vendored Samba client script (internal/policies/certificate/python/vendor_samba/gp/gp_cert_auto_enroll_ext.py), ADSys utilizes a plaintext HTTP connection (http://) instead of a secure HTTPS connection (https://) to request the CA certificate from the Active Directory Certificate Services server (GetCACert). An unauthenticated network attacker positioned between the managed Ubuntu host and the configured AD CS CA hostname can conduct a Man-in-the-Middle (MITM) attack. By intercepting the plaintext HTTP request, the attacker can supply an arbitrary, attacker-controlled Root CA certificate. Because the system automatically accepts this certificate and registers it into the local system trust store via update-ca-certificates, this results in system-wide trust store poisoning. Consequently, TLS clients utilizing the operating system trust store on the affected machine will accept rogue certificates for arbitrary domains, enabling persistent decryption and interception of subsequent TLS connections. This issue is resolved in version v0.16.3.
Go Vulnerability Database
Canonical ADSys Uses a Less Trusted Source in github.com/ubuntu/adsys.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/ubuntu/adsys before v0.16.3-0.20250318112551-8b1939f96d38.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12249 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-crm4-q7v4-c2r2 changed 2026-09-28 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-6543 changed 2026-09-28 | CC-BY-4.0 |
| NVD | CVE-2026-12249 changed 2026-06-22 | Public domain |