<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Django漏洞 on 办公AI智能小助手</title>
    <link>https://blog.qife122.com/tags/django%E6%BC%8F%E6%B4%9E/</link>
    <description>Recent content in Django漏洞 on 办公AI智能小助手</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <copyright>qife</copyright>
    <lastBuildDate>Mon, 10 Nov 2025 21:01:27 +0800</lastBuildDate>
    <atom:link href="https://blog.qife122.com/tags/django%E6%BC%8F%E6%B4%9E/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Django ORM Q对象SQL注入漏洞深度剖析</title>
      <link>https://blog.qife122.com/p/django-orm-q%E5%AF%B9%E8%B1%A1sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E6%B7%B1%E5%BA%A6%E5%89%96%E6%9E%90/</link>
      <pubDate>Mon, 10 Nov 2025 21:01:27 +0800</pubDate>
      <guid>https://blog.qife122.com/p/django-orm-q%E5%AF%B9%E8%B1%A1sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E6%B7%B1%E5%BA%A6%E5%89%96%E6%9E%90/</guid>
      <description>&lt;h1 id=&#34;django-orm-q对象sql注入漏洞分析&#34;&gt;Django ORM Q对象SQL注入漏洞分析&lt;/h1&gt;&#xA;&lt;h2 id=&#34;漏洞概述&#34;&gt;漏洞概述&lt;/h2&gt;&#xA;&lt;p&gt;Django ORM在处理Q对象时存在严重的SQL注入漏洞。WhereNode.as_sql方法使用不安全的字符串格式化将查询连接器（如&amp;rsquo;AND&amp;rsquo;）注入原始SQL查询中。攻击者可通过字典解包方式创建Q对象时控制_connector键值，从而在WHERE子句中注入任意SQL，完全绕过ORM的参数化安全防护。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
