llamaCVEVulnerability Intelligence
/
Apache Struts

CVE-2021-31805

The fix issued for CVE-2020-17530 was incomplete

Crítica · EPSS ≥ 10 %Parche disponible
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: NVD
ExplotaciónExploit públicoNo figura en CISA KEV
Exploits públicos92 fuentes
Parche1 versiónPrimer parche a -28 d de la divulgación
Exposición1.683 dDesde la divulgación, 12 abr 2022, 10:25 a. m.
EPSS ≥ 10 %2 nov 2026Fecha en que la probabilidad de explotación superó el umbral
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Umbral EPSS
Remediación
Parche 2.5.30
Monitoreo
Detectada
Verificada
15 mar 22
12 abr 22
3 ago 24
2 nov 26
3 nov 26
13 nov 26
21 nov 26
15 mar 22
17 may 23
18 jul 24
19 sept 25
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.5.30 org.apache.struts:struts2-core · -28 d desde divulgación
Divulgación Publicada CVE-2021-31805 divulgada · CVSS 9.8 (NVD)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
org.apache.struts:struts2-core≥ 2.0.0 < 2.5.30
2.0.0
2.5.30
7.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.apache.struts:struts2-core
Corregida 2.5.30 -28 d 7.4.0 no afectada
Versiones corregidas2.5.30
Explotación

Arsenal público

Exploit-DB
—
0
Metasploit
—
0
Nuclei
http/cves/2021/CVE-2021-31805.yaml
1
PoC en GitHub
JordanANDJohn/CVE-2021-31805-POC · SecNN/Struts2_S2-062_CVE-2021-31805 · Wrin9/CVE-2021-31805 · aeyesec/CVE-2021-31805 · jax7sec/S2-062 · nth347/struts2-CVE-2021-31805 …
8
Ver los 8 repositorios de GitHub
JordanANDJohn/CVE-2021-31805-POC
SecNN/Struts2_S2-062_CVE-2021-31805
Wrin9/CVE-2021-31805
aeyesec/CVE-2021-31805
jax7sec/S2-062
nth347/struts2-CVE-2021-31805
pyroxenites/s2-062
z92g/CVE-2021-31805

Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.

Referencias
Fabricantehttps://cwiki.apache.org/confluence/display/WW/S2-062
Análisishttp://www.openwall.com/lists/oss-security/2022/04/12/6
Exploithttps://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31805.yaml
Exploithttps://github.com/JordanANDJohn/CVE-2021-31805-POC
Exploithttps://github.com/SecNN/Struts2_S2-062_CVE-2021-31805
Exploithttps://github.com/Wrin9/CVE-2021-31805
Exploithttps://github.com/aeyesec/CVE-2021-31805
Exploithttps://github.com/jax7sec/S2-062
Exploithttps://github.com/nth347/struts2-CVE-2021-31805
Exploithttps://github.com/pyroxenites/s2-062
Exploithttps://github.com/z92g/CVE-2021-31805
Otrahttps://www.oracle.com/security-alerts/cpujul2022.html
Ver 1 referencias más
Otrahttps://security.netapp.com/advisory/ntap-20220420-0001/

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.