返回介绍

Finding Your First Template Injection!

发布于 2024-10-11 20:34:02 字数 1329 浏览 0 评论 0 收藏 0

It’s time to find your first template injection vulnerability by following the steps we discussed in this chapter:

是时候按照本章节讨论的步骤,找到你的第一个模板注入漏洞了。

  1. Identify any opportunity to submit user input to the application. Mark down candidates of template injection for further inspection.
  2. Detect template injection by submitting test payloads. You can use either payloads that are designed to induce errors, or engine-specific payloads designed to be evaluated by the template engine.
  3. If you find an endpoint that is vulnerable to template injection, determine the template engine in use. This will help you build an exploit specific to the template engine.
  4. Research the template engine and programming language that the target is using to construct an exploit.
  5. Try to escalate the vulnerability to arbitrary command execution.
  6. Create a proof of concept that does not harm the targeted system. A good way to do this is to execute touch template_injection_by_ YOUR_NAME .txt to create a specific proof-of-concept file.
  7. Draft your first template injection report and send it to the organization!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文