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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
POC_CVE-2026-42589 — POC_CVE-2026-42589 | Kitploit
도구/GitHubGitHub/fineman999/poc_cve-2026-42589
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubfineman999/poc_cve-2026-42589

POC_CVE-2026-42589

POC_CVE-2026-42589

저장소 보기
12개월 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

POC_CVE-2026-42589

Gotenberg에 영향을 미치는 CVE-2026-42589에 대한 로컬 재현 랩 및 nuclei 템플릿 초안

요약

CVE-2026-42589는 다음 엔드포인트의 메타데이터 키 개행(newline) 주입으로 인해 발생하는 Gotenberg의 인증 없는 원격 코드 실행(RCE) 취약점입니다:

root@kitploit:~
POST /forms/pdfengines/metadata/write

취약한 Gotenberg는 제어 문자를 거부하지 않고 사용자가 제어하는 메타데이터 키를 ExifTool로 전달합니다. JSON 이스케이프된 개행을 포함하는 메타데이터 키는 추가 ExifTool 인자로 분할될 수 있습니다.

이 랩은 다음을 검증하는 데 사용되었습니다:

  • gotenberg/gotenberg:8.29.1에서의 취약 동작
  • gotenberg/gotenberg:8.31.0에서의 패치된 동작

nuclei 템플릿은 비파괴적인 sleep 6 타이밍 검사만 사용합니다.

참조

  • GitHub 보안 권고: https://github.com/gotenberg/gotenberg/security/advisories/GHSA-rqgh-gxv4-6657
  • 수정 버전 릴리스: https://github.com/gotenberg/gotenberg/releases/tag/v8.31.0
  • ExifTool 문서: https://exiftool.org/exiftool_pod.html

파일

  • docker-compose.yml
  • docker-compose.latest.yml
  • CVE-2026-42589.yaml
  • manual_verify.py
  • sample.pdf
  • README.md

취약 버전 테스트

Gotenberg 8.29.1 시작:

root@kitploit:~
docker compose down -v
docker compose up -d
docker compose logs --tail=100 gotenberg

버전 확인:

root@kitploit:~
curl -s http://127.0.0.1:3000/version

수동 원시 multipart 타이밍 검사:

root@kitploit:~
python3 manual_verify.py http://127.0.0.1:3000

예상되는 취약 신호:

root@kitploit:~
HTTP/1.1 500 Internal Server Error
TOTAL_TIME=6.xs

관찰된 취약 결과:

root@kitploit:~
HTTP/1.1 500 Internal Server Error
TOTAL_TIME=6.300s
Internal Server Error

패치 버전 대조

Gotenberg 8.31.0 시작:

root@kitploit:~
docker compose -f docker-compose.latest.yml down -v
docker compose -f docker-compose.latest.yml up -d
docker compose -f docker-compose.latest.yml logs --tail=100 gotenberg

버전 확인:

root@kitploit:~
curl -s http://127.0.0.1:3000/version

동일한 수동 타이밍 검사 실행:

root@kitploit:~
python3 manual_verify.py http://127.0.0.1:3000

관찰된 패치 버전 결과:

root@kitploit:~
HTTP/1.1 400 Bad Request
TOTAL_TIME=0.145s
At least one PDF engine cannot process the requested metadata, while others may have failed to convert due to different issues

Nuclei

템플릿 검증:

root@kitploit:~
nuclei -duc -validate -t CVE-2026-42589.yaml

취약 대상에 대해 실행:

root@kitploit:~
nuclei -duc -u http://127.0.0.1:3000 -t CVE-2026-42589.yaml

예상 동작:

  • 8.29.1: 지연된 500 응답 후 매치
  • 8.31.0: 매치 없음

관찰된 취약 결과:

root@kitploit:~
[CVE-2026-42589] [http] [critical] http://127.0.0.1:3000/forms/pdfengines/metadata/write
[INF] Scan completed in 6.245907708s. 1 matches found.

관찰된 패치 버전 결과:

root@kitploit:~
[INF] Scan completed in 93.01425ms. No results found.

참고 사항

  • 이 랩은 의도적으로 파일 쓰기, 리버스 셸, out-of-band 콜백을 사용하지 않습니다.
  • 템플릿은 버전 배너만이 아니라 동작을 탐지합니다.
  • 실제 환경의 대상은 사용되지 않았습니다.
  • 소유한 시스템 또는 명시적으로 테스트 권한을 부여받은 시스템에서만 사용하세요.
도구 다운로드