CVE-2016-4977
Cuando se procesan las peticiones de autorización usando las vistas whitelabel en Spring Security OAuth versiones 2.0.0 hasta 2.0.9 y versiones 1.0.0 hasta 1.0.5, el valor del parámetro response_type fue ejecutado como Spring SpEL, lo que habilitó a un usuario malicioso desencadenar la ejecución de código remota por medio del diseño del valor para response_type.
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
- Primer exploit público
- Shadowserver la registra como explotada (honeypot)
Exploits públicos
Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.
- Plantilla de Nuclei (detección automática y masiva) · Spring Security OAuth2 Remote Command Execution
- Prueba de concepto en GitHub (no verificada) · Lista de pruebas de concepto en GitHub
⚠️ Las pruebas de concepto de GitHub no están verificadas: algunas son falsas o contienen malware. No las ejecute nunca fuera de un laboratorio aislado.
Explotación observada por otros catálogos
Además del KEV de CISA, otros catálogos de vulnerabilidades explotadas recogen esta CVE. No toda la evidencia vale lo mismo: un intento registrado por un honeypot no equivale a un compromiso confirmado.
- Shadowserver · intentos reales de explotación · honeypot · desde el 1 nov 2026 · vista por última vez el 21 nov 2026
Datos recogidos a través de Vulnerability-Lookup (CIRCL)
Tecnologías afectadas (1)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 25 may 2017
- Última modificación
- 16 jun 2026
- Vector CVSS
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Debilidad (CWE)
- CWE-19
Referencias
- Aviso del fabricantepivotal.io/security/cve-2016-4977
- Lista de correoopenwall.com/lists/oss-security/2019/10/16/1
- Lista de correolists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317…
- Lista de correolists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529…
- Lista de correolists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54…
- Lista de correolists.apache.org/thread.html/96c017115069408cec5e82ce1e6293faca…
JSON original (NVD)
Mostrar
{
"id": "CVE-2016-4977",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:P",
"authentication": "SINGLE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "PARTIAL",
"confidentialityImpact": "PARTIAL"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 8,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV30": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.0",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "security_alert@emc.com",
"affectedData": [
{
"vendor": "Pivotal",
"product": "Spring Security OAuth",
"versions": [
{
"status": "affected",
"version": "2.0.0 to 2.0.9"
},
{
"status": "affected",
"version": "1.0.0 to 1.0.5"
}
]
}
]
}
],
"published": "2017-05-25T17:29:00.707",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2019/10/16/1",
"source": "security_alert@emc.com"
},
{
"url": "https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E",
"source": "security_alert@emc.com"
},
{
"url": "https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E",
"source": "security_alert@emc.com"
},
{
"url": "https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E",
"source": "security_alert@emc.com"
},
{
"url": "https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E",
"source": "security_alert@emc.com"
},
{
"url": "https://pivotal.io/security/cve-2016-4977",
"tags": [
"Vendor Advisory"
],
"source": "security_alert@emc.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2019/10/16/1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/0841d849c23418c473ccb9183cbf41a317cb0476e44be48022ce3488%40%3Cdev.fineract.apache.org%3E",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/37d7e820fc65a768de3e096e98382d5529a52a039f093e59357d0bc0%40%3Cdev.fineract.apache.org%3E",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/5e6dd946635bbcc9e1f2591599ad0fab54f2dc3714196af3b17893f2%40%3Cannounce.apache.org%3E",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/96c017115069408cec5e82ce1e6293facab398011f6db7e1befbe274%40%3Cdev.fineract.apache.org%3E",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://pivotal.io/security/cve-2016-4977",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-19"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "When processing authorization requests using the whitelabel views in Spring Security OAuth 2.0.0 to 2.0.9 and 1.0.0 to 1.0.5, the response_type parameter value was executed as Spring SpEL which enabled a malicious user to trigger remote code execution via the crafting of the value for response_type."
},
{
"lang": "es",
"value": "Cuando se procesan las peticiones de autorización usando las vistas whitelabel en Spring Security OAuth versiones 2.0.0 hasta 2.0.9 y versiones 1.0.0 hasta 1.0.5, el valor del parámetro response_type fue ejecutado como Spring SpEL, lo que habilitó a un usuario malicioso desencadenar la ejecución de código remota por medio del diseño del valor para response_type."
}
],
"lastModified": "2026-06-17T00:48:32.683",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "684631F6-F8D4-48B7-98F2-BDA9C39083C6"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3701D619-31DF-4731-834C-6155BC7E5107"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "53930533-8F2C-4935-B4D2-F1A878960A2E"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C32C17C5-899E-4BB4-8D58-113F1D09DAE9"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C5F1F3A6-5484-496F-8EAA-B7A057D6DB3B"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:1.0.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5198701E-7773-431C-91BC-7851EC29FCF5"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DF512340-8A4B-4490-AA61-D75C5887BFEB"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FFC58F72-A9EF-4E98-98B1-4A1F002CF219"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "90038376-4DE6-45AD-AE66-15A303968A52"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "ABA9D0E0-4CE5-4F2D-8CF4-C56AEDB6B93B"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "47E67BE8-5FCB-4AE8-AF43-3D54DB4B1101"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "550C588E-D34C-4875-9C19-3D83699E672D"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B7396259-1CDD-4EC4-B80C-C390E369E5BA"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FB6BB413-E1F7-4B8F-8BD0-A1D4C2A8A77C"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.8:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6CAAB3A1-EF4D-4FB2-AEBB-758895FD0B48"
},
{
"criteria": "cpe:2.3:a:pivotal:spring_security_oauth:2.0.9:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7698A791-1A65-4D5B-B102-650EE874F48C"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security_alert@emc.com"
}