CVE-2026-114611schorschii OCO-Server
Falsificación de certificado MDM sin autenticación en OCO-Server
Crítica 9.1 Sin autenticación
Seguir: esta CVE · schorschii · schorschii OCO-Server Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 22 oct 2026
- Actualizada
- 29 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-295
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
OCO-Server anterior a 1.2.3 no valida correctamente los certificados PKCS#7 en el endpoint de inscripción MDM de Apple, usando la bandera PKCS7_NOVERIFY que desactiva la verificación de cadena de confianza. Un atacante sin autenticación puede forjar una solicitud de inscripción con un certificado autofirmado, obtener credenciales MDM válidas del servidor y suplantar dispositivos víctima en la plataforma de gestión.
Ver el texto original de NVD (en inglés)
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=<serial>` 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.
Qué hacer
Hay parche · versiones corregidas: 1.2.3
Actualiza OCO-Server a versión 1.2.3 o posterior para habilitar la validación correcta de certificados PKCS#7 en el endpoint MDM.
- Aplica la actualización de seguridad del fabricante para OCO-Server.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- schorschii · OCO-Server
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.