Skip to content

In-depth lesson · Unsafe deserialisation

Reports behind this point

Start with the language and framework defaults. If the target is Ruby on Rails, look at signed cookies, message verifiers and cache fetches that use the raw option. If it is Java, look at YAML parsing and JSON default typing. If it is PHP, look at unserialise calls and the yaml_parse family. Knowing the default unsafe path saves time.