利用 Swagger UI - 用户界面(UI)关键信息误表示漏洞(CVE-2018-25031)。
该利用工具用于检测所使用的 Swagger UI 是否存在可被利用的用户界面(UI)关键信息误表示漏洞。
安装 Selenium
pip install selenium
克隆仓库
git clone https://github.com/rafaelcintralopes/SwaggerUI-CVE-2018-25031.git
更改浏览器驱动路径
drive_service = Service("C:/chromedriver.exe")
python swagger-exploit.py https://[swagger-page].com