
Optionsbleed 취약점(CVE-2017-9798)을 탐지하는 개념 증명(PoC) 스캐너로, HTTP OPTIONS 메서드를 사용해 Apache HTTP 서버의 메모리 누수를 테스트합니다.
이것은 Apache httpd의 Optionsbleed 버그(CVE-2017-9798)를 테스트하기 위한 개념 증명 코드입니다.
대신 Snallygaster 도구 사용을 고려하세요. 여기에는 optionsbleed 검사가 포함되어 있습니다:
snallygaster -t optionsbleed [host]
optionsbleed [-h] [-n N] [-a] [-u] hosttocheck Check for the Optionsbleed vulnerability (CVE-2017-9798). positional arguments: hosttocheck The hostname you want to test against optional arguments: -h, --help show this help message and exit -n N number of tests (default 10) -a, --all show headers from hosts without problems -u, --url pass URL instead of hostname Tests server for Optionsbleed bug and other bugs in the allow header. Automatically checks http://, https://, http://www. and https://www. - except if you pass -u/--url (which means by default we check 40 times.)
이 스크립트는 반환된 Allow 헤더를 출력하고, 어떤 문제가 있는지에 대한 설명을 접두사로 붙입니다. 기본적으로 서버가 취약하지 않으면 출력이 없으며, 이는 -a/--all 매개변수로 변경할 수 있습니다.
손상된 헤더가 전송되었습니다. Optionsbleed 버그일 가능성이 매우 높습니다.
빈 헤더가 전송되었는데, 이는 잘못된 것입니다.
메서드 목록이 쉼표로 구분되지 않고 공백으로 구분되었습니다.
버그이지만 무해합니다. Launchpad 버그 #1717682일 수 있습니다.
일부 메서드가 목록에 여러 번 전송되었습니다.
버그이지만 무해합니다. Apache 버그 #61207일 수 있습니다.
이 헤더에는 문제가 없습니다(-a/--all 옵션으로만 전송됨).