Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2022-1471

Description

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

POC

Reference

- http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html

- https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2

Github

- https://github.com/1fabunicorn/SnakeYAML-CVE-2022-1471-POC

- https://github.com/ARPSyndicate/cvemon

- https://github.com/DrC0okie/HEIG_SLH_Labo1

- https://github.com/Dzmitry-Basiachenka/dist-foreign-aliakh

- https://github.com/Franky-Lim24/snakeyaml_cve_poc

- https://github.com/Konloch/SafeYAML

- https://github.com/LetianYuan/SnakeYamlPoC

- https://github.com/OWASP/www-project-ide-vulscanner

- https://github.com/PRANDOL82/Software-Security

- https://github.com/PeterXMR/Demo

- https://github.com/St3v3nsS/MMSF

- https://github.com/apimastery/snakeyaml-ext

- https://github.com/au-abd/python-stuff

- https://github.com/au-abddakkak/python-stuff

- https://github.com/bw0101/bee004

- https://github.com/cloudspannerecosystem/liquibase-spanner

- https://github.com/codescope-dev/DuckYAML

- https://github.com/danielps99/startquarkus

- https://github.com/falconkei/snakeyaml_cve_poc

- https://github.com/fernandoreb/dependency-check-springboot

- https://github.com/junxiant/xnat-aws-monailabel

- https://github.com/klosebrothers/kb-app

- https://github.com/kota65535/sonarcloud-external-issue-helper-chrome-extension

- https://github.com/nomi-sec/PoC-in-GitHub

- https://github.com/okostine-panw/pc_scripts

- https://github.com/prashantghimire/DuckYAML

- https://github.com/rawC1nnamon/android-hacking

- https://github.com/redlab/yaml-props

- https://github.com/scordero1234/java_sec_demo-main

- https://github.com/sr-monika/sprint-rest

- https://github.com/srchen1987/springcloud-distributed-transaction

- https://github.com/tanjiti/sec_profile

- https://github.com/umut-arslan/kb-app

- https://github.com/wetpossum1/java-test-app-vis

- https://github.com/wskvfhprrk/FOMO-pay

- https://github.com/zkarpinski/Deliberately-Insecure-Product