Host *
    PermitLocalCommand yes
    LocalCommand /bin/sh /home/test/1.sh 2>/dev/null

参考

  • https://mp.weixin.qq.com/s/cntGEOoBDyL61QeRKtDxJg
  • https://www.wiz.io/blog/brokensesame-accidental-write-permissions-to-private-registry-allowed-potential-r
  • https://www.wiz.io/blog/wiz-research-discovers-extrareplica-cross-account-database-vulnerability-in-azure-postgresql
  • https://www.wiz.io/blog/hells-keychain-supply-chain-attack-in-ibm-cloud-databases-for-postgresql
  • https://www.wiz.io/blog/the-cloud-has-an-isolation-problem-postgresql-vulnerabilities
  • https://cloudsec.huoxian.cn/