{"id":"CVE-2026-114611","summary":"OCO-Server: MDM /profile endpoint accepts self-signed PKCS#7 signatures (PKCS7_NOVERIFY): device MDM identity (certificate + private key) disclosure and device-record hijack","details":"OCO-Server is a self-hosted endpoint management application for computer inventory, software deployment, and mobile device management. Prior to 1.2.3,the Apple MDM enrollment endpoint `frontend/api-mdm.php` verifies the signed enrollment-request plist with `openssl_pkcs7_verify(..., PKCS7_NOVERIFY, ...)`. `PKCS7_NOVERIFY` disables signer certificate chain and trust validation, so the signature only has to be self-consistent with whatever certificate is embedded in the PKCS#7 blob. A self-signed certificate from an unrelated attacker is accepted. Because the endpoint trusts the `SERIAL` field taken from the unverified payload, anyone who knows a registered device's serial number can sign a forged plist (`SERIAL` = victim device, attacker-chosen `UDID`) with an arbitrary self-signed certificate; POST it unauthenticated to `/api-mdm.php/profile` (Content-Type: `application/pkcs7-signature`); and receive the victim device's freshly minted MDM identity: a certificate with `CN=\u003cserial\u003e` issued by the server's internal MDM device CA, bundled with its private key in a PKCS#12 payload inside the returned `.mobileconfig` enrollment profile. Additionally, the victim's `mobile_device` database row is silently overwritten with the attacker-supplied `UDID` (device-record hijack). With the stolen certificate and key, the attacker can impersonate the victim device on all subsequent MDM traffic (`/checkin`, `/mdm`, `/parameters`), which authenticate callers by the certificate CN (the serial number) via `checkSignature()` in the same file. This yields control over the victim device's MDM relationship: reading its management data, replacing its push token, and disrupting or redirecting its enrollment. Version 1.2.3 fixes the issue.","aliases":["GHSA-p549-5h7r-7639"],"modified":"2026-10-23T02:45:35.102585191Z","published":"2026-10-22T17:33:13.611Z","database_specific":{"cwe_ids":["CWE-295"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114611.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114611.json"},{"type":"FIX","url":"https://github.com/schorschii/OCO-Server/commit/5cab5ad2461434816d706b7be9cc08bda15c1404"},{"type":"FIX","url":"https://github.com/schorschii/OCO-Server/commit/f3a6591136f9bd92aff39ddfb26587e6dfdb64df"},{"type":"ADVISORY","url":"https://github.com/schorschii/OCO-Server/security/advisories/GHSA-p549-5h7r-7639"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114611"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/schorschii/oco-server","events":[{"introduced":"0"},{"fixed":"cbe6213e0702892e4d0209e396ea43439a0fe740"},{"fixed":"5cab5ad2461434816d706b7be9cc08bda15c1404"},{"fixed":"f3a6591136f9bd92aff39ddfb26587e6dfdb64df"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"1.2.3"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"5cab5ad2461434816d706b7be9cc08bda15c1404"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"f3a6591136f9bd92aff39ddfb26587e6dfdb64df"}]}]}}],"versions":["v1.2.2","v1.2.1","v1.2.0","v1.1.13","v1.1.12","v1.1.11","v1.1.10","v1.1.7","v1.1.6","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.16.3","v0.16.2","v0.16.1","v0.16.0","v0.15.5","v0.15.4","v0.15.3","v0.15.2","v0.15.1","v0.15.0","v0.14.4","v0.14.3","v0.14.2","v0.14.1","v0.14.0","v0.13.8","v0.13.7","v0.13.6","v0.13.5","v0.13.4","v0.13.3","v0.13.2","v0.13.1","v0.13.0","v0.12.1","v0.12.0","v0.11.0","v0.10.0","v0.9.4","v0.9.3","v0.9.2","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114611.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}