Weaknesses of type CWE-502

2,666 results

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

A aplicação reconstrói objetos a partir de dados serializados (JSON, XML, binário) recebidos de fontes externas sem validar adequadamente se o conteúdo é legítimo. Um atacante pode injetar código malicioso ou objetos especialmente crafted que são executados durante a desserialização, comprometendo toda a aplicação.

Example

Um servidor Java desserializa objetos recebidos em requisições HTTP usando ObjectInputStream, sem verificar a classe ou origem dos dados. Um atacante envia um objeto serializado contendo uma cadeia de gadgets (RCE via biblioteca como Apache Commons Collections) que é executada assim que o objeto é reconstruído em memória.

How to mitigate

Valide e liste explicitamente as classes que podem ser desserializadas (whitelist). Para JSON/XML, use parsers que não executem código (como JSON simples, evite eval). Considere alternativas seguras como Protocol Buffers ou MessagePack, e mantenha bibliotecas críticas atualizadas.

CVE-2024-43252CRITICALWordPress Crew HRM plugin <= 1.1.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2025-7099MEDIUMBoyunCMS Installation install2.php deserializationEPSS 0.4%CVE-2022-41958HIGHDeserialization Vulnerability by yaml config input in super-xrayEPSS 0.4%CVE-2024-5649MEDIUMUniversal Slider <= 1.6.5 - Authenticated (Contributor+) PHP Object InjectionEPSS 0.4%CVE-2026-77646HIGHServer Side Request Forgery (SSRF) vulnerability reported in WindchillEPSS 0.4%CVE-2026-48502HIGHMessagePack-CSharp: Denial of service vulnerabilities can swamp the CPU or crash the process with stack and heap overflowsEPSS 0.4%CVE-2025-39358HIGHWordPress WP Posts Carousel <= 1.3.12 - PHP Object Injection VulnerabilityEPSS 0.4%CVE-2026-39550HIGHWordPress Aperitif theme <= 1.6 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39560HIGHWordPress Hiroshi theme <= 1.5.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39567HIGHWordPress Santé theme <= 1.5.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2025-66073HIGHWordPress WP Webhooks plugin <= 3.3.8 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39576HIGHWordPress SingleMalt theme <= 1.5 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39446HIGHWordPress Kapee theme < 1.7.0 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2025-43713MEDIUMASNA Assist and ASNA Registrar before 2025-03-31 allow deserialization attacks against .NET remoting. These are Windows system services thatEPSS 0.4%CVE-2026-39580HIGHWordPress Micdrop theme <= 1.3.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39554HIGHWordPress Fidalgo theme <= 1.2.2 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-39556HIGHWordPress Konsept theme <= 1.9 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-40752HIGHWordPress Manufaktur Solutions theme <= 1.1.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-40738HIGHWordPress Eldon theme <= 1.4.1 - PHP Object Injection vulnerabilityEPSS 0.4%CVE-2026-27096HIGHWordPress ColorFolio - Freelance Designer WordPress Theme theme <= 1.3 - Deserialization of untrusted data vulnerabilityEPSS 0.4%