Home / Vulnerability Database / C-sharp : Insecure JSON deserialization
C#

C-sharp : Insecure JSON deserialization

Overview

Deserialization of user-controlled JSON-objects can lead to arbitrary code execution on the server.

JSON serialization libraries can include the necessary metadata to convert objects to JSON. If an attacker can set object types to transform and run arbitrary methods with user-controlled data, he can execute arbitrary code during the deserialization of the JSON stream.

MEDIUM

DerScanner Severity Score

Do you want to fix C-sharp : Insecure JSON deserialization in your application?

See also

C#

C-sharp : JWT: None Algorithm

C#

C-sharp : Insecure data transmission: Database

C#

C-sharp : Only one of method Equals() and GetHashCode() defined