Vulnerability · CWE-502

high severityA08:2021 Software and Data Integrity Failures

Insecure Deserializationalso known as Unsafe Deserialization

Deserializing untrusted data can let an attacker control object state or trigger code paths, sometimes leading to remote code execution.

Impact

Why it matters

Remote code execution, privilege escalation, and data tampering.

Detection

How vulnscanners finds it

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports Insecure Deserialization findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

Remediation

How to fix it

  1. 01Never deserialize untrusted input into native objects.
  2. 02Use safe formats (JSON) with strict schemas.
  3. 03Sign/verify serialized data and validate integrity.

References

FAQ

What is Insecure Deserialization?

Deserializing untrusted data can let an attacker control object state or trigger code paths, sometimes leading to remote code execution.

How does vulnscanners detect Insecure Deserialization?

vulnscanners runs Nuclei templates and OWASP ZAP active scans against authorized targets, and reports Insecure Deserialization findings with severity, the affected endpoint/parameter, and the evidence needed to confirm and fix them.

How do I fix Insecure Deserialization?

Never deserialize untrusted input into native objects. Use safe formats (JSON) with strict schemas. Sign/verify serialized data and validate integrity.

How serious is Insecure Deserialization?

Remote code execution, privilege escalation, and data tampering.

Related

Scan your target for real.

Point vulnscanners at an authorized domain or IP range and get a severity-ranked report of what's actually exploitable — including Insecure Deserialization. Credits never expire.