Fallos del tipo CWE-502

2653 resultados

Desserialização de dados não confiáveis

A aplicação reconstrói objetos a partir de dados recebidos (JSON, XML, binário) sem validar se o resultado é seguro. Um atacante pode injetar código malicioso ou estruturas que exploram o processo de desserialização para executar ações arbitrárias no servidor ou cliente.

Ejemplo

Um serviço Java desserializa um objeto enviado pelo usuário usando ObjectInputStream sem filtros. O atacante envia um payload serializado que, ao ser reconstituído, executa comandos do sistema. Cenário comum: aplicações legadas que confiam em dados de rede ou arquivos sem inspeção.

Cómo mitigar

Valide e filtre dados antes de desserializar — use listas de classes permitidas (whitelisting), implemente validação de schema, e prefira formatos simples (JSON com parse restritivo) em vez de binários com lógica automática. Para linguagens críticas como Java, use bibliotecas seguras ou desabilite gadgets perigosos.

CVE-2024-44902CRITICALA deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.EPSS 4.2%CVE-2021-37578—Remote code execution via RMIEPSS 4.1%CVE-2019-14893HIGHA flaw was discovered in FasterXML jackson-databind in all versions before 2.9.10 and 2.10.0, where it would permit polymorphic deserializatEPSS 4.1%CVE-2026-47864MEDIUMUnsafe Java deserialization in SerializingHttpMessageConverter — remote code executionEPSS 4.1%CVE-2021-39145HIGHXStream is vulnerable to an Arbitrary Code Execution attackEPSS 4.1%CVE-2023-21706HIGHMicrosoft Exchange Server Remote Code Execution VulnerabilityEPSS 4.1%CVE-2022-21828—A user with high privilege access to the Incapptic Connect web console can remotely execute code on the Incapptic Connect server using a unsEPSS 4.0%CVE-2020-12007—A specially crafted communication packet sent to the affected devices could allow remote code execution and a denial-of-service condition duEPSS 3.9%CVE-2024-20953HIGHVulnerability in the Oracle Agile PLM product of Oracle Supply Chain (component: Export). The supported version that is affected is 9.3.6.EPSS 3.9%KEVCVE-2021-27466CRITICALRockwell Automation FactoryTalk AssetCentre Deserialization of Untrusted DataEPSS 3.9%CVE-2021-27470CRITICALRockwell Automation FactoryTalk AssetCentre Deserialization of Untrusted DataEPSS 3.8%CVE-2021-27462CRITICALRockwell Automation FactoryTalk AssetCentre Deserialization of Untrusted DataEPSS 3.8%CVE-2022-45047CRITICALApache MINA SSHD: Java unsafe deserialization vulnerabilityEPSS 3.8%CVE-2024-6944MEDIUMZhongBangKeJi CRMEB PublicController.php get_image_base64 deserializationEPSS 3.8%CVE-2026-21511HIGHMicrosoft Outlook Spoofing VulnerabilityEPSS 3.8%CVE-2022-21341MEDIUMVulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Serialization). Supported versiEPSS 3.8%CVE-2019-19230CRITICALAn unsafe deserialization vulnerability exists in CA Release Automation (Nolio) 6.6 with the DataManagement component that can allow a remotEPSS 3.8%CVE-2020-26867CRITICALARC Informatique PcVue Deserialization of Untrusted DataEPSS 3.8%CVE-2020-5327HIGHDell Security Management Server versions prior to 10.2.10 contain a Java RMI Deserialization of Untrusted Data vulnerability. When the serveEPSS 3.7%CVE-2021-31010HIGHA deserialization issue was addressed through improved validation. This issue is fixed in Security Update 2021-005 Catalina, iOS 12.5.5, iOSEPSS 3.7%KEV