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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
nginxpwn — 익스플로잇 교육 -- CVE-2013-2028: Nginx 스택 기반 버퍼 오버플로우 | Kitploit
도구/GitHubGitHub/kitctf/nginxpwn
Vulnerability AnalysisExploitationDebuggersLearning & EducationBinary ExploitationLabs & Practice
GitHubkitctf/nginxpwn

nginxpwn

익스플로잇 교육 -- CVE-2013-2028: Nginx 스택 기반 버퍼 오버플로우

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

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Exploitation Training -- CVE-2013-2028: Nginx 스택 기반 버퍼 오버플로우

이 저장소는 nginx 1.4.0 소스 코드와 (스택 쿠키가 있는/없는) 사전 컴파일된 바이너리를 포함합니다. 또한 손쉬운 구성을 위한 Vagrantfile도 포함되어 있습니다.

공지 및 패치: http://mailman.nginx.org/pipermail/nginx-announce/2013/000112.html 버그 분석 글: http://www.vnsecurity.net/research/2013/05/21/analysis-of-nginx-cve-2013-2028.html

설정

root@kitploit:~
vagrant up
vagrant ssh

실행

root@kitploit:~
sudo /vagrant/bin/nginx1

Nginx는 VM 내부에서는 80 포트로, 외부(호스트)에서는 8080 포트로 노출됩니다.

root@kitploit:~
# Inside VM
curl 127.0.0.1

# Outside VM
curl 127.0.0.1:8080

디버깅

root@kitploit:~
sudo gdb /vagrant/bin/nginx1
gdb> set follow-fork-mode child
gdb> r

파일 얻기/생성하기

익스플로잇을 개발하기 위해 이 단계를 수행할 필요는 없습니다. 이는 대체로 기록용입니다.

소스 코드 가져오기

root@kitploit:~
# Clone repository
hg clone http://hg.nginx.org/nginx
# See tags
hg tags
# Checkout 1.4.0
hg up 7809529022b8

빌드

스택 쿠키 없이:

root@kitploit:~
./auto/configure --without-http_rewrite_module --without-http_gzip_module
vim objs/Makefile
# Add '-fno-stack-protector' to the CFLAGS
make -j4
sudo make install

스택 쿠키 사용:

root@kitploit:~
./auto/configure --without-http_rewrite_module --without-http_gzip_module
make -j4
sudo make install

실행

root@kitploit:~
# Webroot in /usr/local/nginx/html/
sudo ./objs/nginx
도구 다운로드