Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
salt-security-backports — CVE-2020-11651 및 CVE-2020-11652에 대한 Salt 보안 백포트 | Kitploit
도구/GitHubGitHub/rossengeorgiev/salt-security-backports
Cloud Infrastructure SecurityVulnerability AnalysisExploitationConfiguration AuditingPenetration TestingArchived
GitHubrossengeorgiev/salt-security-backports

salt-security-backports

CVE-2020-11651 및 CVE-2020-11652에 대한 Salt 보안 백포트

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
웹사이트
108156년 전Kitploit 검토 완료

이전 버전용 공식 패치는 다음에서 요청할 수 있습니다: https://www.saltstack.com/lp/request-patch-april-2020/

⚠ 여기의 패치는 커스텀이며 공식 패치와 다를 수 있습니다 ⚠

지원되지 않는 salt 버전을 위한 백포트 보안 패치

Build Status

이 저장소의 패치는 다음 CVE를 해결합니다:

  • CVE-2020-11651 & CVE-2020-11652 - https://labs.f-secure.com/advisories/saltstack-authorization-bypass

또한 다음 버그 수정 사항을 포함합니다:

  • _minion_runner -> minion_runner 오타 수정. 참조: https://docs.saltstack.com/en/latest/topics/releases/3000.2.html#known-issue
  • _find_file_and_stat -> _find_hash_and_stat 타입 수정. 참조: https://github.com/rossengeorgiev/salt-security-backports/issues/1
  • 허용 목록(whitelist)에서 run_func 제거
  • 누락된 import salt.utils.verify 추가

위 수정 사항은 SaltStack 최신 릴리스, 특히 v2019.2.5 및 v3000.3에 포함되어 있습니다.

salt-master 취약 여부 확인

확인 스크립트는 salt-master에서 root로 로컬에서 실행해야 합니다.

root@kitploit:~
python salt-cve-check.py

Salt 2017.7.8의 예시 출력:

root@kitploit:~
[+] Salt version: 2017.7.8
[ ] This version of salt is vulnerable! Check results below
[+] Checking salt-master (127.0.0.1:4506) status... ONLINE
[+] Checking if vulnerable to CVE-2020-11651... YES
[+] Checking if vulnerable to CVE-2020-11652 (read_token)... YES
[+] Checking if vulnerable to CVE-2020-11652 (read)... YES
[+] Checking if vulnerable to CVE-2020-11652 (write1)... YES
[+] Checking if vulnerable to CVE-2020-11652 (write2)... YES

패치 적용

root@kitploit:~
# locate the salt package directory (use python3 if necessary)

python -c "import imp; print(imp.find_module('salt')[1])"

# in my case: /usr/lib/python2.7/dist-packages/salt
# apply patches
# (adding -b flag will backup file before modifications at same path with .orig suffix)
# (patch can be reversed running the same command with -R flag)

patch -p2 -d /usr/lib/python2.7/dist-packages/salt < 2017.7.8_CVE-2020-11651.patch
patch -p2 -d /usr/lib/python2.7/dist-packages/salt < 2017.7.8_CVE-2020-11652.patch

# restart salt-master

systemctl restart salt-master
# or
service salt-master restart

확인 스크립트를 다시 실행합니다:

root@kitploit:~
user@salt # python salt-cve-check.py
[+] Salt version: 2017.7.8
[ ] This version of salt is vulnerable! Check results below
[+] Checking salt-master (127.0.0.1:4506) status... ONLINE
[+] Checking if vulnerable to CVE-2020-11651... NO
[+] Checking if vulnerable to CVE-2020-11652 (read_token)... NO
[+] Checking if vulnerable to CVE-2020-11652 (read)... NO
[+] Checking if vulnerable to CVE-2020-11652 (write1)... NO
[+] Checking if vulnerable to CVE-2020-11652 (write2)... NO
도구 다운로드